Commit 9e8a0432 authored by Clement Bois's avatar Clement Bois
Browse files

Merge branch 'fix/add-fail-function' into 'master'

fix: Add fail function. fixes #67

Closes #67

See merge request to-be-continuous/maven!98
parents 1d512284 31c979ca
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}")