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 failing when delete or rename a branch #49

Closed mnencia closed 6 years ago

mnencia commented 7 years ago

The content of #38 has been rebased on current master, it should fix #32 #37 and JENKINS-37500

I've cleaned up the commits from the previous pull requests and added one to prevent the SCM manager to delete any path that doesn't exists in the repository.

j-martin commented 7 years ago

This PR is a big deal for us since we are using Jenkins Pipeline with the Github Organization Plugin which creates and deletes nested jobs constantly.

Thanks for your work!

daubman commented 7 years ago

We'd love to see this fix as well, it seems inconsistent but we seem to hit this occasionally even when just deleting "normal" jobs...

marcolenzo commented 7 years ago

I am honestly baffled that such an issue has been discussed from over an year on #32 and it has never seen official feedback from the repository admins. This is a blocker issue that needs to be fixed otherwise the plugin is totally useless.

mnencia commented 7 years ago

I think that the right place to complain is the JIRA issue https://issues.jenkins-ci.org/browse/JENKINS-37500

pupssman commented 7 years ago

@rodrigc hi! Is there a chance for this PR to be merged and released any time soon?

shraykay commented 7 years ago

@rodrigc bump! would really like to add this fix

erikhakansson commented 7 years ago

@rodrigc +1 from me. I have to do the manual workaround daily now.

Is this plugin abandoned? Perhaps you could give it up for adoption.

xocasdashdash commented 7 years ago

@rodrigc any eta on this getting merged anytime soon?

hogarthj commented 7 years ago

@erikhakansson if it's a help for you i've compiled this plugin with the PR applied here:

https://purley.hogarthuk.com/scm-sync-configuration.hpi

replace it with the official one when there's eventually a release of course

cpoole commented 7 years ago

Friendly bump. Without this merge this plugin is DOA for any new jenkins projects

j-martin commented 7 years ago

Bumping again, confirming this solved our problem and has been working great for use for the past 4 months.

incedo commented 7 years ago

I was wondering why this hasn't been merged yet? We would like to use the multibranch plugin in our current environment that is using the scm sync plugin. If there is something that needs to be done please let us know

mnencia commented 7 years ago

The issue is explained in #54 This plugin is orphan, so no one will merge it, unless a new maintainer will arise.

giladsh1 commented 7 years ago

@hogarthj thanks a lot!

in order to fix this issue, you can use the following workaround -

more details on using custom plugin versions here - https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial

sharksforarms commented 6 years ago

any updates on getting this merged

mnencia commented 6 years ago

I have the strong feeling that this plugin is abandoned and this patch will never be merged. I've personally stopped using it in favour of generating the configuration through jenkins-job-builder

sharksforarms commented 6 years ago

@guipal Thanks for looking at this! Hopefully a release can be pushed and bring this plugin back to glory!

@mnencia Merged!

clintharrison commented 6 years ago

@guipal as you have taken ownership of this plugin, are you able to release a new version now that this has been merged?