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

Gerrit Trigger - Diagnostic Events Listeners - Links to jobs located in Folders are incorrect

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • gerrit-trigger-plugin
    • None
    • Jenkins 2.89.2
      Gerrit Trigger plugin 2.27.2

    Description

      In the Diagnostic Events Listeners page, links to jobs located in Folders are not generated properly.

       

      Scenario

      Input: job name gerrit_trigger in folder NEW_FOLDER. proper Url is <jenkins_url>/job/NEW_FOLDER/job/gerrit_trigger/

      Use Case: Go to <jenkins_url>/gerrit-trigger/diagnostics/eventListeners/

      Expected: displayed job gerrit_trigger has a link to <jenkins_url>/job/NEW_FOLDER/job/gerrit_trigger/

      Actual: displayed job gerrit_trigger has a link to <jenkins_url>/job/gerrit_trigger/ --> not working

       

      Proposed solution:

      use getUrl() instead of getShortUrl() in https://github.com/jenkinsci/gerrit-trigger-plugin/blob/master/src/main/resources/com/sonyericsson/hudson/plugins/gerrit/trigger/diagnostics/EventListenersReport/index.groovy#L101**

      Attachments

        Activity

          geoffroyjabouley Geoffroy Jabouley created issue -

          People

            rsandell rsandell
            geoffroyjabouley Geoffroy Jabouley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: