From db1c8ec581dd39bd692b91e9e6b39f4c1834715c Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Mon, 9 May 2022 16:55:40 +0200 Subject: [PATCH] fix sintax --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 30ef5e8..246b0b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -215,7 +215,7 @@ def deploy(String service, String version, String host){ def statusCode = sh( script: "cd /var/lib/jenkins/ansible-repos/ansible-playbooks/d4science-ghn-cluster/;git pull;cd CD;echo '\\033[34mStarting\\033[0m \\033[33mAnsible\\033[0m \\033[35mWorld\\033[0m';./deployService.sh $service $version $host", returnStdout: true); println("Deploy ended with status: "+statusCode); sh(""" - echo " last exit code $?"; + echo " last exit code \$?"; """) }