>> Do you have to shell out and cp everything? If that's the case, how do 
you properly handle errors etc?

The sh/bat have the returnStatus and returnStdout. Sadly no returnStdError, 
so you need to pipe and I suggest to use 'tee' to duplicate it if need such 
feature. 
https://jenkins.io/doc/pipeline/steps/workflow-durable-task-step/

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f0956c3f-4ca7-4dca-8a50-384c6a5f75db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to