-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
I would love to be able to have my jobs automatically return the workspace to a clean state after execution - but otherwise leave the cloned repo present at the end of a job automatically. I could do this myself in a post step, but seems like it would be nice to be able to just define this in the SCM section and have it done automatically.
Even better would be ability to say "Clean after job, if:
{stable|unstable|failed}" - to allow leaving the workspace around for examination if the job fails, but otherwise clean when done.
[JENKINS-27211] Please add ability to use the git 'clean' options AFTER job execution
Workflow | Original: JNJira [ 161411 ] | New: JNJira + In-Review [ 180687 ] |
Assignee | Original: Nicolas De Loof [ ndeloof ] |