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

Fixing renaming and deletion issues #32

Closed falkzilm closed 6 years ago

jenkinsadmin commented 9 years ago

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

rodriguezsergio commented 8 years ago

Is there a chance this will get a look? @rodrigc

zjkyz8 commented 8 years ago

any update for this issue?

boonware commented 8 years ago

Any update on this? The plugin is practically unusable now due to the problems with renaming and deleting jobs.

rodriguezsergio commented 8 years ago

@boonware I couldn't wait to get a backup script into production, so I took this and tweaked it a bit to my needs.

https://gist.github.com/cenk/5089392

pupssman commented 8 years ago

Hey, folks! Anyone looking at this? I might lend a hand in fixing/merging this as I need that myself a lot.

Darthholi commented 7 years ago

Please do repair this

oberones commented 7 years ago

+1 for merging this PR.

laapsaap commented 7 years ago

For crying out loud, the plugin is completely unusable without this fix. Lets get this going.. Look at the dates..

Darthholi commented 7 years ago

To everybody who needs jenkins configuration saving to SCM - I did my own job, that saves things like this:

(robocmd is robocopy, JenkinsHome is programfiles/jenkins, MedBuildHome is SCM repository)

          call ${BuildTools}\\robocmd.bat "${JenkinsHome}"\\jobs ${MedBuildHome}\\Jenkins\\jobs *config.xml /S /ZB /PURGE ${LogoutputParams} ${ExcludeParams}
          call ${BuildTools}\\robocmd.bat "${JenkinsHome}"\\users ${MedBuildHome}\\Jenkins\\users *config.xml /S /ZB /PURGE ${LogoutputParams} ${ExcludeParams}
          call ${BuildTools}\\robocmd.bat "${JenkinsHome}" ${MedBuildHome}\\Jenkins *config.xml /ZB /PURGE ${LogoutputParams} ${ExcludeParams}

          call ${BuildTools}\\robocmd.bat "${JenkinsHome}" ${MedBuildHome}\\Jenkins *hudson*.xml /ZB /PURGE ${LogoutputParams} ${ExcludeParams}

          call ${BuildTools}\\robocmd.bat "${JenkinsHome}" ${MedBuildHome}\\Jenkins *.groovy /S /ZB /PURGE ${LogoutputParams} ${ExcludeParams}

          call ${BuildTools}\\robocmd.bat "${JenkinsHome}" ${MedBuildHome}\\Jenkins *.ppr /ZB /PURGE ${LogoutputParams} ${ExcludeParams}

          call ${BuildTools}\\robocmd.bat "${JenkinsHome}" ${MedBuildHome}\\Jenkins *.reg /ZB /PURGE ${LogoutputParams} ${ExcludeParams}

          call ${BuildTools}\\robocmd.bat "${JenkinsHome}" ${MedBuildHome}\\Jenkins *logparser.txt /ZB /PURGE ${LogoutputParams} ${ExcludeParams} 

          git -C "${MedBuildHome}" add -A
          git -C "${MedBuildHome}" commit -m "${Msg}"
          git -C "${MedBuildHome}" push origin  
vkruoso commented 7 years ago

Looks like the project maintainers are not around for a while now. Is there any alternatives to this plugin that are actually being maintained works for deleting jobs?

vzabawski commented 7 years ago

Any updates?

boonware commented 7 years ago

I have stopped using this plug-in due to the issue at hand but also down to the fact that this plug-in does not peform a full backup. To fully back up Jenkins one needs to copy the entire JENKINS_HOME directory. I would advise to do the same.

vzabawski commented 7 years ago

Well, this plugin is not that bad, I've restored once Jenkins from it and it almost worked out of the box but yes, it's definitely not flawless. A good option is to try to build a custom version of this plugin with all patches provided by community applied since this repo seems to be abandoned.

sharksforarms commented 6 years ago

any updates???

yuchaoran2011 commented 6 years ago

This issue should NOT be closed @guipal. A guy in the comment of this page reported facing the issue still. Today I ran into the same problem.

guipal commented 6 years ago

This is not an issue but a pull request from another user. It was closed because it was merged nevertheless those is not still being distributed as I'm waiting to include few more features before releasing a new version. If you want this feature just checkout the repo and build It yourself.

Cheers

El El sáb, 2 dic 2017 a las 4:45, Chaoran Yu notifications@github.com escribió:

This issue should NOT be closed @guipal https://github.com/guipal. A guy in the comment of this page https://issues.jenkins-ci.org/browse/JENKINS-15128 reported facing the issue still. Today I ran into the same problem.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jenkinsci/scm-sync-configuration-plugin/pull/32#issuecomment-348665454, or mute the thread https://github.com/notifications/unsubscribe-auth/AJyu5ZQyVvtzbRNGoeZ8MpKikXyQ385bks5s8MfhgaJpZM4Fw54e .