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/17 13:46:29 UTC

[camel-website] branch main updated: chore: don't try to run non existing teardown.sh

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 a79b7bc  chore: don't try to run non existing teardown.sh
a79b7bc is described below

commit a79b7bcae261422110de67b1d32af5a156f5ca6e
Author: Zoran Regvart <zo...@regvart.com>
AuthorDate: Mon Jan 17 14:46:17 2022 +0100

    chore: don't try to run non existing teardown.sh
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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