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

Stage view showing wrong pipeline data after build history purge

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Purge Job History Plugin v1.1
      Pipeline: Stage view plugin v2.9

      Jenkins OS: RHEL 7.3 - 64bit

      After performing a build history purge (and reset build number to 1) using the purge job history plugin the stage view shows the stage view from the previous build.

      Looks like its a similar issue to JENKINS 36865 and the below workaround (listed in the comments session) resolves the issue.

      import com.cloudbees.workflow.flownode.FlowNodeUtil
      
      FlowNodeUtil.CacheExtension ext = FlowNodeUtil.CacheExtension.all().get(0);
      ext.getRunCache().invalidateAll();
      

        1. after.PNG
          after.PNG
          26 kB
        2. before.PNG
          before.PNG
          26 kB

            svanoort Sam Van Oort
            iant Ian Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: