Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git
Created: 05/Apr/14 12:20 AM
Description:

We're executing a job, and trying to perform a git clean. One of our submodules is dirty, and unfortunately since the Jenkins GIT plugin cleans after checkout, we get the following error:

FATAL: Command "git submodule update --init --recursive" returned status code 1:
stdout:
stderr: error: Your local changes to the following files would be overwritten by checkout:
minified/sidecar.js
minified/sidecar.lite.js
minified/sidecar.lite.min.js
minified/sidecar.min.js
Please, commit your changes or stash them before you can switch branches.
Aborting
Unable to checkout 'd58c3304230e4bf26ffb3fa6986d4b6ba90d4c66' in submodule path 'sugarcrm/sidecar'

I tested using the Pre-SCM Buildstep plugin and performing a git clean before the checkout fixes the problem.

Project: Jenkins
Priority: Major Major
Reporter: Ray Sennewald
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