Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid sync config files from scm working dir. #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aasigma
Copy link

@aasigma aasigma commented Jul 6, 2015

In the job strategy the regex is "**/jobs//config.xml". But when the scm-sync-plugin have already synced some jobs then there is config files under scm-sync-configuration/checkoutConfiguration/jobs//config.xml. Those files will be catch by this regex making some kind of recursive sync and increasing the number of sync files really quickly.

I do not know why it actually did not happen from the beginning, but in our case the "recursive issue" happens only after we add manual sync path to the plugin.

aasigma added 3 commits July 6, 2015 15:15
Avoiding possible recursive sync of "jobs" folder.
Change org.jenkins-ci.plugins:plugin version to 1.424.
@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@cobexer
Copy link

cobexer commented Aug 25, 2015

I had this happen to me a few times already - very annoying - any progress on getting this in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants