-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
I would like to suggest an option to allow exclusions for git clean. Currently, when "Clean workspace" is selected, "git clean -fdx" is run, which is a great way of starting with a pristine build directory. However, if for Maven projects a "Local to the workspace" M2 repository is selected, the clean command will also clean away the repository, which will cause hundreds of artifacts to be re-downloaded. Even though a maven proxy makes this les worse, it would be nice if there was an option to allow exclusions from the clean (git clean -fdx -e <pattern>).
- is related to
-
JENKINS-22400 Git timeout on other actions than fetch/clone
-
- Open
-
-
JENKINS-63383 Polluted workspace -- "Clean after checkout" (git clean -fdx) won't remove git repositories in subdirectories
-
- Closed
-
[JENKINS-29893] Allow exclusions for git clean
Link | New: This issue is related to JENKINS-22400 [ JENKINS-22400 ] |
Workflow | Original: JNJira [ 164971 ] | New: JNJira + In-Review [ 181767 ] |
Link |
New:
This issue is duplicated by |
Link |
Original:
This issue is duplicated by |
Assignee | Original: Nicolas De Loof [ ndeloof ] | New: Mark Waite [ markewaite ] |
Assignee | Original: Mark Waite [ markewaite ] |
If we implement exclusions for clean, we should also include implementing timeout for clean, since it would change the same part of the user interface.