generated from gCubeCI/Pipeline-Docker-Template
replace DEPLOY_ROOT_FOLDER var with ANSIBLE_ROOT_FOLDER
This commit is contained in:
parent
8076da5291
commit
8333695959
|
@ -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 \$?";
|
||||
""")
|
||||
|
|
Loading…
Reference in New Issue