generated from gCubeCI/Pipeline-Docker-Template
small fix
This commit is contained in:
parent
ec7ae82e9b
commit
ceaa196895
|
@ -345,11 +345,7 @@ def deployJobs(def serviceList){
|
|||
def deploy(String service, String version, String host, String foo){
|
||||
def now = new Date();
|
||||
println("Going to deploy the service "+service+" with version: "+version+" on target: "+host+" with argument: "+foo);
|
||||
sh("""
|
||||
cd ${ANSIBLE_ROOT_FOLDER}/CD;
|
||||
""")
|
||||
|
||||
def statusCode = sh( script: "./deployService.sh $service $version $host $foo;", returnStatus: true);
|
||||
def statusCode = sh( script: "${ANSIBLE_ROOT_FOLDER}/CD/deployService.sh $service $version $host $foo;", returnStatus: true);
|
||||
sh("""
|
||||
echo " last exit code \$?";
|
||||
""")
|
||||
|
|
Loading…
Reference in New Issue