generated from gCubeCI/Pipeline-Docker-Template
merge and removed spaces
This commit is contained in:
parent
c0cecd9790
commit
eb8b09115b
|
@ -147,7 +147,6 @@ pipeline {
|
|||
environment name: 'IS_SCHEDULED', value: 'False'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
steps {
|
||||
echo 'Going to sleep'
|
||||
|
@ -278,7 +277,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 $ANSIBLE_ROOT_FOLDER;git pull;./deployService.sh $service $version $host;", returnStdout: true);
|
||||
def statusCode = sh( script: "cd $DEPLOY_ROOT_FOLDER;./deployService.sh $service $version $host;", returnStdout: true);
|
||||
sh("""
|
||||
echo " last exit code \$?";
|
||||
""")
|
||||
|
|
Loading…
Reference in New Issue