From 5003f54d6ffc29101db76023fec11dc2563937d2 Mon Sep 17 00:00:00 2001 From: Raphael Defosseux <raphael.defosseux@eurecom.fr> Date: Fri, 27 Sep 2019 11:23:04 +0200 Subject: [PATCH] CI: replacing w/ error Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr> --- ci-scripts/Jenkinsfile-tmp-full-ran | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-scripts/Jenkinsfile-tmp-full-ran b/ci-scripts/Jenkinsfile-tmp-full-ran index 1112adc0b9..31f1955a68 100644 --- a/ci-scripts/Jenkinsfile-tmp-full-ran +++ b/ci-scripts/Jenkinsfile-tmp-full-ran @@ -174,8 +174,8 @@ pipeline { sh "git checkout -f ${eNB_CommitID}" } } else { - echo "Some parameters are missing" - sh "./ci-scripts/fail.sh" + currentBuild.result = 'ABORTED' + error('Stopping early because some parameters are missing') } } } -- 2.26.2