jenkinsci / scm-sync-configuration-plugin

Jenkins scm-sync-configuration plugin
https://plugins.jenkins.io/scm-sync-configuration/
MIT License
115 stars 123 forks source link

Avoid sync config files from scm working dir. #30

Open aasigma opened 9 years ago

aasigma commented 9 years ago

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.

jenkinsadmin commented 9 years ago

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

cobexer commented 9 years ago

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