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

Builds disappear from renamed jobs

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Duplicate
    • core
    • None
    • Jenkins 1.509.3, Jenkins 1.532-SNAPSHOT (private-09/12/2013 13:02 GMT-jenkins) from ci.jenkins-ci.org

    Description

      Builds disappear from jobs that were renamed since the last restart after they've been unloaded (lazy loading of 1.485+).

      1. Create a new, pristine Jenkins instance
      2. Create a freestyle job 'foo' and save
      3. Rename 'foo' to 'bar'
      4. Click 'Build Now'
      5. Run Jenkins.instance.getItemByFullName('bar')._getRuns().purgeCache() in the script console
      6. Go to /job/bar
      7. Builds are gone.

      Alternatively, build first, then rename:
      1. Create a new, pristine Jenkins instance
      2. Create a freestyle job 'foo' and save
      3. Click 'Build Now'
      4. Rename 'foo' to 'bar'
      5. Run Jenkins.instance.getItemByFullName('bar')._getRuns().purgeCache() in the script console
      6. Go to /job/bar
      7. Builds are gone.

      Attachments

        Issue Links

          Activity

            danielbeck Daniel Beck created issue -
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-18694 [ JENKINS-18694 ]
            danielbeck Daniel Beck made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            danielbeck Daniel Beck made changes -
            Link This issue duplicates JENKINS-18678 [ JENKINS-18678 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-18694 [ JENKINS-18694 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 151167 ] JNJira + In-Review [ 193815 ]

            People

              Unassigned Unassigned
              danielbeck Daniel Beck
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: