-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Install Gihub and Bitbucket on the same Jenkins instance
-
-
1.0.5
If you have Github and Bitbucket installed as plugins and you use Skip Notifications Trait you will get this error after `1.0.4` release:
ERROR: Found multiple extensions which provide method skipNotificationsTrait with arguments []: [[com.cloudbees.jenkins.plugins.bitbucket.notifications.SkipNotificationsTrait, org.jenkinsci.plugins.github.notifications.SkipNotificationsTrait]]
This problem was introduced by this PR:
https://github.com/jenkinsci/skip-notifications-trait-plugin/pull/5
[JENKINS-60420] Skip notifications plugin fails after 1.0.4 release
Description |
Original:
If you have Github and Bitbucket installed as plugins and you use Skip Notifications Trait you will get this error after `1.0.4` release: {code:java} ERROR: Found multiple extensions which provide method skipNotificationsTrait with arguments []: [[com.cloudbees.jenkins.plugins.bitbucket.notifications.SkipNotificationsTrait, org.jenkinsci.plugins.github.notifications.SkipNotificationsTrait]] {code} |
New:
If you have Github and Bitbucket installed as plugins and you use Skip Notifications Trait you will get this error after `1.0.4` release: {code:java} ERROR: Found multiple extensions which provide method skipNotificationsTrait with arguments []: [[com.cloudbees.jenkins.plugins.bitbucket.notifications.SkipNotificationsTrait, org.jenkinsci.plugins.github.notifications.SkipNotificationsTrait]] {code} This problem was introduced by this PR: [https://github.com/jenkinsci/skip-notifications-trait-plugin/pull/5] |
Good morning,
Thanks a lot for reporting.
I have couple of options:
1. Roll back the changes by v2v and let him create a separate plugin for GitHub Branch Source
2. I have a local snapshot which has classes and method names renamed, tried to create GitHub/BitBucket organization and it was successful
Which way will be preferable for you michelzanini?