How to tell Jenkins to keep temporary durable sh tasks?
12:13 27 Jul 2017

Sometimes I get errors from inside the durable tasks but I was not able to find a way to make Jenkins disable the removal of these scripts.

When it happens I see something like: /home/j/workspace/jobname/subjidr@tmp/durable-a209d793/script.sh: line 32:

I need to be able to keep these files in order to see what went wrong, or at least to print their content on the console before running them.

jenkins jenkins-pipeline