-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: durable-task-plugin
-
None
-
Environment: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
Â