generated from gCubeCI/Pipeline-Docker-Template
fix sintax
This commit is contained in:
parent
4f5699caf6
commit
db1c8ec581
|
@ -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);
|
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);
|
println("Deploy ended with status: "+statusCode);
|
||||||
sh("""
|
sh("""
|
||||||
echo " last exit code $?";
|
echo " last exit code \$?";
|
||||||
""")
|
""")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue