According to Pipeline documentation [1], a node{} section in Jenkinsfile
creates a fresh workspace and removes it when done with all contained steps.

However I'm seeing that the workspace assigned to my node{} sections in the
Jenkinsfile is not empty but already contains the project structure,
including build artefacts like the folder "generatedJUnitFiles/".

Am I supposed to manually do deleteDir() at the end/beginning of every
node{} section, or am I missing anything?

Thanks,
 stefan.


[1] https://jenkins.io/doc/pipeline/

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CABwQARurvF7AO0W3FfBhsMAmAmvKDg9XmbkC8M6WBBmmYZqUDw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to