Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60420

Skip notifications plugin fails after 1.0.4 release

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor 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

          Michel Zanini created issue -
          Michel Zanini made changes -
          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]
          Alex Dubrouski made changes -
          Released As New: 1.0.5
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            alex_dubrouski Alex Dubrouski
            michelzanini Michel Zanini
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: