You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2022/01/18 20:52:27 UTC

[camel-website] branch main updated: fix: don't fail in the post step

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/main by this push:
     new faa5817  fix: don't fail in the post step
faa5817 is described below

commit faa5817cef0f43564301a086e062e645e6125281
Author: Zoran Regvart <zo...@regvart.com>
AuthorDate: Tue Jan 18 21:52:16 2022 +0100

    fix: don't fail in the post step
    
    We don't want to fail in the post step and mask any exit status of the
    previous steps.
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0803af5..950b08e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -108,7 +108,7 @@ pipeline {
 
     post {
         always {
-            sh "[ -x $WORKSPACE/docker-pipe/teardown.sh ] && $WORKSPACE/docker-pipe/teardown.sh"
+            sh "[ -x $WORKSPACE/docker-pipe/teardown.sh ] && $WORKSPACE/docker-pipe/teardown.sh || true"
         }
         fixed {
             mail subject: 'Website build status', body: "🥳 Build succeeded!", to: 'camel-website.874fb06555c2b4407efde9f9a3b13c13.show-sender@streams.zulipchat.com'