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

Stage view showing wrong pipeline data after build history purge

    Details

    • Similar Issues:

      Description

      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();
      

        Attachments

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

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              svanoort Sam Van Oort
              Reporter:
              iant Ian Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: