We are using environment variables provided by Blue Ocean Display URL plugin:

      RUN_CHANGES_DISPLAY_URL=https://<jenkins-url>/job/<jobname>/<buildnumber>/display/redirect?page=changes
      RUN_DISPLAY_URL=https://<jenkins-url>/job/<jobname>/<buildnumber>/display/redirect

      However, when tests are failed we want to see direct link to "Tests" page in our notifications.

      I've tried to append ?page=tests to RUN_DISPLAY_URL, but it doesn't work. Looks like this is not supported internally.

          [JENKINS-53179] Direct link to tests page in Blue Ocean

          Pavel Vasilevich created issue -

          I have the same need and I tried the same! The UI shows the page "Tests" and "Artifacts"... Not consistent so far... 

          Marcello de Sales added a comment - I have the same need and I tried the same! The UI shows the page "Tests" and "Artifacts"... Not consistent so far... 

          Victor Martinez added a comment - - edited

          I've just created https://github.com/jenkinsci/blueocean-display-url-plugin/pull/22 which provides two more env variables:

          • RUN_ARTIFACTS_DISPLAY_URL
          • RUN_TESTS_DISPLAY_URL

           

          Victor Martinez added a comment - - edited I've just created https://github.com/jenkinsci/blueocean-display-url-plugin/pull/22  which provides two more env variables: RUN_ARTIFACTS_DISPLAY_URL RUN_TESTS_DISPLAY_URL  
          Jesse Glick made changes -
          Remote Link New: This issue links to "display-url-api #25 (Web Link)" [ 25323 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "blueocean-display-url #24 (Web Link)" [ 25324 ]
          Jesse Glick made changes -
          Assignee Original: Ivan Meredith [ imeredith ] New: Victor Martinez [ v2v ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Tim Jacomb made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

            v2v Victor Martinez
            pvasilevich Pavel Vasilevich
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: