I am using the workflow plugin to organize my builds on jenkins.
In my script I currently must run many "Shell Script" steps.
Most of the scripts produce some output that I should catch and use in my further steps.
Currently I handle this as following:
But I assume there is a better (undocumented?) way available. Does 'sh' step support more parameters?
By the way, what does 'sh' step returns? Is it shell script exit code?
Thank you in advance
|Resolution||Duplicate [ 3 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Workflow||JNJira [ 160983 ]||JNJira + In-Review [ 196604 ]|
|Component/s||pipeline-general [ 21692 ]|
|Component/s||workflow-plugin [ 18820 ]|