• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      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.

          [JENKINS-14816] 404 from Cause/UpstreamCause/description.jelly

          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.

          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.

          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

          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

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

              Created:
              Updated:
              Resolved: