From 83336959599adde24ec71a8c3fbee03811ed88b7 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Mon, 24 Oct 2022 14:41:28 +0200 Subject: [PATCH] replace DEPLOY_ROOT_FOLDER var with ANSIBLE_ROOT_FOLDER --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c490f00..ef64a66 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -272,7 +272,7 @@ pipeline { def deploy(String service, String version, String host){ def now = new Date(); println("Going to deploy the service "+service+" with version: "+version+" on target: "+host); - def statusCode = sh( script: "cd $DEPLOY_ROOT_FOLDER;./deployService.sh $service $version $host;", returnStdout: true); + def statusCode = sh( script: "cd $ANSIBLE_ROOT_FOLDER;./deployService.sh $service $version $host;", returnStdout: true); sh(""" echo " last exit code \$?"; """)