You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2022/01/18 14:32:44 UTC
[couchdb] 01/02: Make sure to actually fail the build
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch jenkins-dynamic-matrix
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 5bd3cfa2d106762907c1906815d14559722593c0
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Tue Jan 18 09:32:14 2022 -0500
Make sure to actually fail the build
---
build-aux/Jenkinsfile.full | 3 +++
1 file changed, 3 insertions(+)
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index a3f8319..b471539 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -142,6 +142,7 @@ def generateNativeStage(platform) {
}
catch (err) {
echo "Build failed: {$err}"
+ currentBuild.result = 'FAILURE'
sh 'ls -l ${WORKSPACE}'
withEnv([
'HOME='+pwd(),
@@ -201,6 +202,7 @@ def generateContainerStage(platform) {
}
catch (err) {
echo "Build failed: {$err}"
+ currentBuild.result = 'FAILURE'
sh 'ls -l ${WORKSPACE}'
dir( "${platform}/build" ) {
sh 'ls -l'
@@ -223,6 +225,7 @@ def generateContainerStage(platform) {
}
catch (err) {
echo "Packaging failed: {$err}"
+ currentBuild.result = 'FAILURE'
sh 'ls -l ${WORKSPACE}'
}
finally {