merge and removed spaces

This commit is contained in:
Roberto Cirillo 2022-10-17 10:04:59 +02:00
parent c0cecd9790
commit eb8b09115b
1 changed files with 35 additions and 36 deletions

3
Jenkinsfile vendored
View File

@ -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 \$?";
""")