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

Link to job not correct for jobs in folders

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • None
    • Jenkins:2.121.1
      global-build-stats-plugin:1.5

      After clicking on a chart details and then in the Search Results, none of the links to the job, Build # (log) or the date (again to the build log) are constructed correctly when jobs are inside folders.

      The links are constructed as:

      JOB: ${JENKINS_URL}/job/topFolder/subFolder/jobName/
      BUILD: ${JENKINS_URL}/job/topFolder/subFolder/jobName/1234

      The correct construction should be;
      JOB: ${JENKINS_URL}/job/topFolder/job/subFolder/job/jobName/
      BUILD: ${JENKINS_URL}/job/topFolder/job/subFolder/job/jobName/1234

      Must manually adjust url after the fact.

      Should display .getFullName() but use .getUrl() in url construction.

            victor_yousician Victor Balakine
            ianw Ian Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: