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

Gerrit trigger comments cannot include blue ocean URLs: RUN_DISPLAY_URL

      Apparently Gerrit Trigger is always generating build urls (<BUILDURL> paremeter in its config) that do point to the good old but deprecated BUILD_URL.

      Blue ocean URLs are exposed inside job via the RUN_DISPLAY_URL variables.

      Plugin should allow user to configure which urls to use. 

      Ideally it should be a global option that will tell the plugin to use one or another URL, so we would not have to update all comments.

      It appears that the default "BUILDS_STATS" variable content is not customised and that is the one that should contain (or be allowed to contain) the new URLs.

          [JENKINS-52365] Gerrit trigger comments cannot include blue ocean URLs: RUN_DISPLAY_URL

          Gert van Dijk added a comment -

          As a work-around, you could specify a per-job build results URL:

          On the job configuration page:

          1. Go to Build Triggers - Gerrit Trigger
          2. Hit the Advanced button.
          3. In field URL to post, enter: $RUN_DISPLAY_URL

          But it would be really nice to set this as a global setting, though.

          Gert van Dijk added a comment - As a work-around, you could specify a per-job build results URL: On the job configuration page: Go to Build Triggers - Gerrit Trigger Hit the Advanced button. In field URL to post , enter: $RUN_DISPLAY_URL But it would be really nice to set this as a global setting, though.

            rsandell rsandell
            ssbarnea Sorin Sbarnea
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: