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

Jenkins redirect from bitbucket results in broken link

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          muc3bmh 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

          Show
          muc3bmh 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
          Hide
          muc3bmh 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

          Show
          muc3bmh 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
          Hide
          nlxtasy 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

          Show
          nlxtasy 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
          Hide
          frans80 Frans Flippo added a comment - - edited

          chetan muthappa 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.

          Show
          frans80 Frans Flippo added a comment - - edited chetan muthappa 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.
          Hide
          mayqueen 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

          Show
          mayqueen 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

            People

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

              Dates

              Created:
              Updated: