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

            jglick Jesse Glick created issue -
            scm_issue_link SCM/JIRA link daemon made changes -
            Field Original Value New Value
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-14814 [ JENKINS-14814 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 145517 ] JNJira + In-Review [ 191525 ]

              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: