Issue Type: Improvement Improvement
Assignee: Nicolas De Loof
Components: git-plugin
Created: 04/Dec/14 2:42 PM
Description:

Currently 'clean after checkout' does 3 things:
1) Delete un-ignored untracked files and directories (similar to git clean -df)
2) Delete ignored untracked files and directories (similar to git clean -xdf)
3) Reset tracked files (similar to git reset)

I would like to only do #3. It would also be useful to do #1 and #3 without doing #2.

This is because we are using Unity which creates a lot of library files which we are happy to persist between builds. These files are required and take a long time to generate but do not affect the build outcome so are safe to leave. The file path is added to .gitignore.

It may make sense to add a 'clean' behaviour and a 'reset' behaviour with somewhere we can pass our own parameters.

Environment: Linux master, Mac & PC slaves. Jenkins 1.590
Project: Jenkins
Priority: Minor Minor
Reporter: Steven Shipton
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to