scm-sync-configuration-plugin icon indicating copy to clipboard operation
scm-sync-configuration-plugin copied to clipboard

SCM sync configuration plugin stopped working for new version of Jenkins 2.332.1

Open preddymm opened this issue 3 years ago • 12 comments

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

SCM sync plugin stopped working after upgrading to the new LTS version of Jenkins. Please fix it ASAP.

Reproduction steps

It should get updated in the git repository.

Expected Results

It should get updated in the git repository.

Actual Results

It should get updated in the git repository.

Anything else?

No response

preddymm avatar Mar 24 '22 22:03 preddymm

@rodrigc Could you please update and release the new plugin? It will be really helpful for all.

preddymm avatar May 04 '22 20:05 preddymm

@fcamblor @tomaswolf @ndeloof @johnou @jcarsique @stephenc @mhelff @mnencia @alanharder @olamy ? Please help us. We are using this plugin from last 6 years and after the recent Jenkins LTS upgrade it stopped working.

preddymm avatar May 04 '22 20:05 preddymm

@preddymm is there a JIRA ticket with a stacktrace?

johnou avatar May 05 '22 09:05 johnou

@johnou https://plugins.jenkins.io/scm-sync-configuration/#issues #76 is the one created by me. I created an issue in the above link. Not sure, where to create the Jira one.

preddymm avatar May 06 '22 20:05 preddymm

~https://github.com/jenkinsci/scm-sync-configuration-plugin/pull/74 may help.~ JEP still draft.

johnou avatar May 07 '22 07:05 johnou

@johnou @preddymm If the changes from #74 work, you can consider adopting the plugin to merge and release the PR. The "Contributing to Open Source" workshop from DevOps World 2021 is a useful starting point for new maintainers. That document includes links to a five part video series that illustrates many of the steps. If the plugin is crucial to your work, you may want to ask your employer to support your work efforts by allowing you to adopt the plugin.

basil avatar May 07 '22 07:05 basil

@preddymm do you see an error or stacktrace in the Jenkins logs related to the plugin which explains why it stopped working?

johnou avatar May 08 '22 10:05 johnou

@johnou Unfortunately, it is not giving any errors in the Jenkins logs, The only issue with this plugin is it not updating in the Git repository. It was able to calculate the change in Jenkins configuration. Something was happening that it was not able to notify and update the Git repository.

The Jenkins version I am using is 2.332.1

preddymm avatar May 10 '22 19:05 preddymm

@fcamblor @tomaswolf @ndeloof @johnou @jcarsique @stephenc @mhelff @mnencia @alanharder @olamy ? Please help us. We are using this plugin from last 6 years and after the recent Jenkins LTS upgrade it stopped working.

Any update?

preddymm avatar May 17 '22 19:05 preddymm

@preddymm If the changes from https://github.com/jenkinsci/scm-sync-configuration-plugin/pull/74 work, you can consider adopting the plugin to merge and release the PR. The "Contributing to Open Source" workshop from DevOps World 2021 is a useful starting point for new maintainers. That document includes links to a five part video series that illustrates many of the steps. If the plugin is crucial to your work, you may want to ask your employer to support your work efforts by allowing you to adopt the plugin.

basil avatar May 17 '22 19:05 basil

@basil Can you reconsider fixing https://issues.jenkins.io/browse/JENKINS-66326? For non-pipeline jobs, this is our Jenkins backup mechanism.

mdorotich-swi avatar Jul 20 '22 18:07 mdorotich-swi

@mdorotich-swi If the changes from https://github.com/jenkinsci/scm-sync-configuration-plugin/pull/74 work, you can consider adopting the plugin to merge and release the PR. The "Contributing to Open Source" workshop from DevOps World 2021 is a useful starting point for new maintainers. That document includes links to a five part video series that illustrates many of the steps. If the plugin is crucial to your work, you may want to ask your employer to support your work efforts by allowing you to adopt the plugin.

basil avatar Jul 20 '22 19:07 basil

I merged @basil #74 and fixed 2 jelly files My build works OK with new jenkins 2.361.1 @preddymm you can try my build at https://github.com/sunnyqeen/scm-sync-configuration-plugin/actions/runs/3111646714 Or build yourself

sunnyqeen avatar Sep 23 '22 09:09 sunnyqeen

@sunnyqeen That's awesome. Thank you so much!!!

preddymm avatar Sep 23 '22 19:09 preddymm

@sunnyqeen It's working for me on the newer Jenkins. Thanks for your fix,

preddymm avatar Sep 23 '22 19:09 preddymm

@sunnyqeen thank you!

mdorotich-swi avatar Sep 24 '22 00:09 mdorotich-swi