diff --git a/templates/gitlab-ci-maven.yml b/templates/gitlab-ci-maven.yml index 6fd4562d9d3012871ae676b694d4d87d54d0b5e9..99420ad11a5428d58642f5c58c8706ae6a7e27f0 100644 --- a/templates/gitlab-ci-maven.yml +++ b/templates/gitlab-ci-maven.yml @@ -254,6 +254,11 @@ stages: echo -e "[\\e[1;91mERROR\\e[0m] $*" } + function fail() { + log_error "$*" + exit 1 + } + function output_coverage() { jacoco_reports=$(find . -name "${JACOCO_CSV_REPORT:-jacoco.csv}")