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

Stage view showing wrong pipeline data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins 2.11, Pipeline Stage View v1.6, CentOS 7

      After running a few pipeline executions, if you delete the job and recreate it will show the proper pipeline while building, but after the pipeline has completed running it will revert to showing the pipeline from the previous (deleted) run. After looking at the code to the plugin, I was able to determine that there was a cache and found some code in the tests to invalidate it.

      I was able to workaround the issue by running the following code in the script console:

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

            svanoort Sam Van Oort
            antoniobeyah Antonio Beyah
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: