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

Link to job not correct for jobs in folders

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • Jenkins:2.121.1
      global-build-stats-plugin:1.5
      cloudbees-folder:6.5.1

    Description

      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.

      Attachments

        Activity

          There are no comments yet on this issue.

          People

            dhinske David Krischke
            ianw Ian Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: