Skip to content
Snippets Groups Projects
Commit 31c979ca authored by Michael Kebe's avatar Michael Kebe Committed by Clement Bois
Browse files

fix: Add fail function. fixes #67

parent 1d512284
No related branches found
No related tags found
No related merge requests found
...@@ -254,6 +254,11 @@ stages: ...@@ -254,6 +254,11 @@ stages:
echo -e "[\\e[1;91mERROR\\e[0m] $*" echo -e "[\\e[1;91mERROR\\e[0m] $*"
} }
function fail() {
log_error "$*"
exit 1
}
function output_coverage() { function output_coverage() {
jacoco_reports=$(find . -name "${JACOCO_CSV_REPORT:-jacoco.csv}") jacoco_reports=$(find . -name "${JACOCO_CSV_REPORT:-jacoco.csv}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment