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

404 from Cause/UpstreamCause/description.jelly

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      While reproducing JENKINS-14814 I tried configuring each job to only keep the last five builds. Now when build #87 of each has been done, from http://localhost:8080/job/b/83/ there is a link

      <span>Started by upstream project <a href="/job/a/">a</a> build number <a href="/job/a/82/">82</a></span>
      

      but http://localhost:8080/job/a/82/ gives a 404:

      -> evaluate(<hudson.model.Hudson@1c15348> :hudson.model.Hudson,"/job/a/82")
      -> evaluate(((StaplerProxy)<hudson.model.Hudson@1c15348>).getTarget(),"/job/a/82")
      -> evaluate(<hudson.model.Hudson@1c15348>.getJob("a"),"/82")
      -> evaluate(<hudson.model.FreeStyleProject@a6125[a]> :hudson.model.FreeStyleProject,"/82")
      -> evaluate(<hudson.model.FreeStyleProject@a6125[a]>.getDynamic("82",...),"")
                  hudson.model.FreeStyleProject@a6125[a].getDynamic("82",...)==null. Back tracking.
      -> No matching rule was found on <hudson.model.FreeStyleProject@a6125[a]> for "/82"
      

      The description should not issue a link to a build (or job!) known to no longer exist.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/resources/hudson/model/Cause/UpstreamCause/description.jelly
            http://jenkins-ci.org/commit/jenkins/aaecf7915d607f88caa9e111d07f48883efc53b7
            Log:
            [FIXED JENKINS-14816] 404 navigating to upstream builds.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/resources/hudson/model/Cause/UpstreamCause/description.jelly http://jenkins-ci.org/commit/jenkins/aaecf7915d607f88caa9e111d07f48883efc53b7 Log: [FIXED JENKINS-14816] 404 navigating to upstream builds.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #1856
            [FIXED JENKINS-14816] 404 navigating to upstream builds. (Revision aaecf7915d607f88caa9e111d07f48883efc53b7)

            Result = UNSTABLE
            Jesse Glick : aaecf7915d607f88caa9e111d07f48883efc53b7
            Files :

            • changelog.html
            • core/src/main/resources/hudson/model/Cause/UpstreamCause/description.jelly
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1856 [FIXED JENKINS-14816] 404 navigating to upstream builds. (Revision aaecf7915d607f88caa9e111d07f48883efc53b7) Result = UNSTABLE Jesse Glick : aaecf7915d607f88caa9e111d07f48883efc53b7 Files : changelog.html core/src/main/resources/hudson/model/Cause/UpstreamCause/description.jelly

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: