WIP fail stages that do an scm checkout.
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/da8ede83 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/da8ede83 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/da8ede83 Branch: refs/heads/HBASE-20364 Commit: da8ede8386f9d46d9ef0098ca2ae7382a7cec5b8 Parents: 7d04d37 Author: Sean Busbey <bus...@apache.org> Authored: Thu Apr 12 23:49:17 2018 -0500 Committer: Sean Busbey <bus...@apache.org> Committed: Thu Apr 12 23:49:17 2018 -0500 ---------------------------------------------------------------------- dev-support/Jenkinsfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/da8ede83/dev-support/Jenkinsfile ---------------------------------------------------------------------- diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile index cab5027..e0b2f9c 100644 --- a/dev-support/Jenkinsfile +++ b/dev-support/Jenkinsfile @@ -149,6 +149,9 @@ curl -L -o personality.sh "${env.PROJECT_PERSONALITY}" echo "-- Something went wrong running this stage, please [check relevant console output|${BUILD_URL}/console]." >> "${OUTPUT_DIR}/commentfile" ''' unstash 'yetus' + sh '''#!/usr/bin/env bash + exit 1 +''' dir('component') { checkout scm } @@ -214,6 +217,9 @@ curl -L -o personality.sh "${env.PROJECT_PERSONALITY}" echo "-- Something went wrong running this stage, please [check relevant console output|${BUILD_URL}/console]." >> "${OUTPUT_DIR}/commentfile" ''' unstash 'yetus' + sh '''#!/usr/bin/env bash + exit 1 +''' dir('component') { checkout scm } @@ -292,6 +298,9 @@ curl -L -o personality.sh "${env.PROJECT_PERSONALITY}" echo "-- Something went wrong running this stage, please [check relevant console output|${BUILD_URL}/console]." >> "${OUTPUT_DIR}/commentfile" ''' unstash 'yetus' + sh '''#!/usr/bin/env bash + exit 1 +''' dir('component') { checkout scm } @@ -377,6 +386,9 @@ curl -L -o personality.sh "${env.PROJECT_PERSONALITY}" echo "-- Something went wrong running this stage, please [check relevant console output|${BUILD_URL}/console]." >> "${OUTPUT_DIR}/commentfile" ''' unstash 'yetus' + sh '''#!/usr/bin/env bash + exit 1 +''' dir('component') { checkout scm } @@ -452,6 +464,9 @@ curl -L -o personality.sh "${env.PROJECT_PERSONALITY}" rm -rf ".m2-for-src" && mkdir ".m2-for-src" echo '(x) {color:red}-1 source release artifact{color}\n-- Something went wrong with this stage, [check relevant console output|${BUILD_URL}/console].' >output-srctarball/commentfile ''' + sh '''#!/usr/bin/env bash + exit 1 +''' dir('component') { checkout scm }