-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins ver. 2.121.2
durable-task-plugin 1.23
-
-
durable-task 1.30
After upgrading to durable-task-plugin 1.23, the powershell step does not return the correct non-zero exit code. In version 1.22 the code was correct.
powershell 'exit 123'
ERROR: script returned exit code 1
def status = powershell(returnStatus:true, script:'exit 123') echo "$status"
[Pipeline] echo
1