• tethys, pannonian

      Blue ocean is installed and working perfect, the problem that all notifications (email, slack, etc) appears with old (classic) jenkins link.

          [JENKINS-41175] BlueOcean display URL is not working

          James Dumay added a comment -

          radinsky interesting - I see the URLs generating for Blue Ocean just fine here with the same plugin versions. Can you check that none of those plugins are disabled?

          James Dumay added a comment - radinsky interesting - I see the URLs generating for Blue Ocean just fine here with the same plugin versions. Can you check that none of those plugins are disabled?

          Alex Radinsky added a comment -

          Can you share your code how do you generate the link that brings you to Blue Ocean?
          Thanks!

          Alex Radinsky added a comment - Can you share your code how do you generate the link that brings you to Blue Ocean? Thanks!

          James Dumay added a comment -

          James Dumay added a comment - radinsky you can find the source code at https://github.com/jenkinsci/blueocean-display-url-plugin

          James Dumay added a comment -

          I also published new versions of display url api and blueocean display url plugins. You might want to upgrade these and try again.

          James Dumay added a comment - I also published new versions of display url api and blueocean display url plugins. You might want to upgrade these and try again.

          James Dumay added a comment -

          radinsky just to check, if you've applied these updates without restarting your Jenkins server then the link generation won't work.

          James Dumay added a comment - radinsky just to check, if you've applied these updates without restarting your Jenkins server then the link generation won't work.

          James Dumay added a comment -

          If you can't see this working with the latest plugins after a restart, please reopen this ticket and we will take a look again. I had another user mention that this was working for them with the latest set of plugin upgrades.

          James Dumay added a comment - If you can't see this working with the latest plugins after a restart, please reopen this ticket and we will take a look again. I had another user mention that this was working for them with the latest set of plugin upgrades.

          Alex Radinsky added a comment -

          Restarted after install, that's not the issue.
          How do you call the job url to point to blue ocean? something like ${env.BUILD_URL} ?

          Alex Radinsky added a comment - Restarted after install, that's not the issue. How do you call the job url to point to blue ocean? something like ${env.BUILD_URL} ?

          James Dumay added a comment - - edited

          radinsky you can use the following environment variables to get the display URL. See JENKINS-41677.

          RUN_DISPLAY_URL which links to the run result
          RUN_CHANGES_DISPLAY_URL which links to the changes page for a run
          JOB_DISPLAY_URL links to the jobs homepage

          James Dumay added a comment - - edited radinsky you can use the following environment variables to get the display URL. See JENKINS-41677 . RUN_DISPLAY_URL which links to the run result RUN_CHANGES_DISPLAY_URL which links to the changes page for a run JOB_DISPLAY_URL links to the jobs homepage

          Alan Yang added a comment -

          jamesdumay Thank you.That's all I need.

          Alan Yang added a comment - jamesdumay Thank you.That's all I need.

          jamesdumay Thank you very much! That's all I need.

          Trần Thanh Phong added a comment - jamesdumay Thank you very much! That's all I need.

            jamesdumay James Dumay
            radinsky Alex Radinsky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: