Commit 31c979ca authored by Michael Kebe's avatar Michael Kebe Committed by Clement Bois
Browse files

fix: Add fail function. fixes #67

parent 1d512284
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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}")