small change

This commit is contained in:
Roberto Cirillo 2024-10-30 11:43:54 +01:00
parent cf0ea75460
commit 8ae9a74ff0
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -356,7 +356,9 @@ def deploy(String service, String version, String host, String foo){
println("Deploy statusCode value: "+statusCode); println("Deploy statusCode value: "+statusCode);
if (statusCode != 0){ if (statusCode != 0){
currentBuild.result = 'FAILURE' currentBuild.result = 'FAILURE'
exit statusCode; sh("""
exit $statusCode;
""")
} }
} }