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

Jenkins redirect from bitbucket results in broken link

      The Bitbucket (Stash) notifier plugin seems to provide a broken url when a job notifies a Stash instance  of a new build.  This links is providing a redirect to what seems to be a Blue Ocean URL.  For example: https://ourJenkinsinstance/job/projectname/job/Configuration/job/jobname/jobno/display/redirect. Not sure where the redirect is showintg up.

          [JENKINS-57851] Jenkins redirect from bitbucket results in broken link

          chetan muthappa added a comment - - edited

          We face this issue as well, we have the
          Bitbucket Build Status Notifier Plugin v1.4.1
          Bitbucket Server Notifier v1.18

          chetan muthappa added a comment - - edited We face this issue as well, we have the Bitbucket Build Status Notifier Plugin v1.4.1 Bitbucket Server Notifier v1.18

          issue was solved by installing following plugins:
          blueocean-commons
          blueocean-core-js
          blueocean-jwt
          blueocean-rest
          blueocean-web

          please close ticket

          chetan muthappa added a comment - issue was solved by installing following plugins: blueocean-commons blueocean-core-js blueocean-jwt blueocean-rest blueocean-web please close ticket

          Leon Stewart added a comment - - edited

          We already have those plugins installed and we are using Bitbucket Build Status Notifier Plugin v1.6.0

           

          And we still have the problem

          Leon Stewart added a comment - - edited We already have those plugins installed and we are using Bitbucket Build Status Notifier Plugin v1.6.0   And we still have the problem

          Frans Flippo added a comment - - edited

          muc3bmh I feel this should work even without the BlueOcean stuff installed. Build Status Notifier shouldn't add /display/redirect to the Jenkins URL, then it works just fine.

          Frans Flippo added a comment - - edited muc3bmh I feel this should work even without the BlueOcean stuff installed. Build Status Notifier shouldn't add /display/redirect to the Jenkins URL, then it works just fine.

          JENKINS-41578 was the answer for me. I had a partial installation of BlueOcean (we have a lot of critical production jobs, so I am very careful with plugins - we install them in chunks). After installing Blue Ocean Display Url we noticed this issue. Jenkins tried to redirect to BlueOcean which is not available yet. Adding an argument to jenkins startup command: -Djenkins.displayurl.provider=org.jenkinsci.plugins.displayurlapi.ClassicDisplayURLProvider
          fixed this

          Natalia Natalia added a comment - JENKINS-41578 was the answer for me. I had a partial installation of BlueOcean (we have a lot of critical production jobs, so I am very careful with plugins - we install them in chunks). After installing Blue Ocean Display Url we noticed this issue. Jenkins tried to redirect to BlueOcean which is not available yet. Adding an argument to jenkins startup command: -Djenkins.displayurl.provider=org.jenkinsci.plugins.displayurlapi.ClassicDisplayURLProvider fixed this

            flagbit Antonio Mansilla
            nlxtasy Leon Stewart
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: