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

          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  

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

              Created:
              Updated:
              Resolved: