Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-plugin
Created: 26/Mar/15 12:33 PM
Description:

When working with submodules and submodule modifies some tracked files during build,
the consecutive builds will file on submodule update, with a git error of unstaged changes.

Although build should not change tracked files it could happen due to programmer mistake.

One can bypass it with
git -C jobs/%JOB_NAME%/workspace/submodule reset --hard || true

Note that git clean is not an option for builds that uses bower or npm, since they download packages from web, and generally work very long.

Environment: windows 2012R2
Jenkins ver. 1.605
GIT client plugin 1.16.1
GIT plugin 2.3.5
Project: Jenkins
Priority: Minor Minor
Reporter: Roman Wieczorek
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