Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-plugin
Created: 28/Jan/15 10:08 AM
Description:

Jenkins SCM plugin can handle git repositories with submodules except for clean up.

When "Clean before checkout" is selected, it runs 'git reset --hard && git clean -dxf' on the repository and submodules if "Recursively update submodules" is selected. This works for most stuff but it does not work if git submodule is removed from the tree which leaves the submodule directory in workspace even after 'git clean -dxf'.

If another '-f' is added, also the removed submodule will be deleted which is the behavior I'd expect when git submodules are in use.

So Jenkins git plugin should call 'git clean -dxf -f' in that case.

Environment: Jenkins and multi SCM plugin configured with git repository using submodules
Project: Jenkins
Priority: Minor Minor
Reporter: Mikko Rapeli
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to