[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Sergey Irisov edited a comment on JENKINS-36865 Re: Stage view showing wrong pipeline data I also saw this issue after deleting job builds via script console with{code:java}job.getBuilds().each { it.delete() }{code}Maybe this is not a real case. At least invalidating script in comments below helped me. \{{}} Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Sergey Irisov commented on JENKINS-36865 Re: Stage view showing wrong pipeline data I also saw this issue after deleting job builds via script console with `job.getBuilds().each { it.delete() }`{{}} Maybe this is not a real case. At least invalidating script in comments below helped me.{{}} Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Sergey Irisov edited a comment on JENKINS-36865 Re: Stage view showing wrong pipeline data I also saw this issue after deleting job builds via script console with ` { { code:java} job.getBuilds().each \ { it.delete() } `}} { { code } } Maybe this is not a real case. At least invalidating script in comments below helped me. \ {{}} Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Sam Van Oort updated JENKINS-36865 Released with v1.7 Jenkins / JENKINS-36865 Stage view showing wrong pipeline data Change By: Sam Van Oort Status: In Review Closed Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Sam Van Oort commented on JENKINS-36865 Re: Stage view showing wrong pipeline data Antonio Beyah You're getting a comprehensive fix for this, which also redoes run data cache invalidation so that the cache invalidates deleted job entries, moves the entires for renamed jobs, and doesn't invalidate the whole cache. Should improve performance on masters with frequent job deletion/renaming. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Sam Van Oort updated JENKINS-36865 Jenkins / JENKINS-36865 Stage view showing wrong pipeline data Change By: Sam Van Oort Status: In Progress Review Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Sam Van Oort updated an issue Jenkins / JENKINS-36865 Stage view showing wrong pipeline data Change By: Sam Van Oort URL: https://github.com/jenkinsci/pipeline-stage-view-plugin/pull/24 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Sam Van Oort started work on JENKINS-36865 Change By: Sam Van Oort Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Sam Van Oort commented on JENKINS-36865 Re: Stage view showing wrong pipeline data Thanks for reporting this – should be an easy fix. We've got a listener that invalidates cache entries upon rename, but not upon deletion. Should be easy to resolve by adding a an implementation for onDeleted(Item item) that handles the deletion case – we anticipated this class of caching issue but not the deletion case. Change will go here, should be easy to knock out for one of the next few releases: https://github.com/jenkinsci/pipeline-stage-view-plugin/blob/master/rest-api/src/main/java/com/cloudbees/workflow/flownode/FlowNodeUtil.java#L505 Might be an opportunity to make the existing invalidation (which is rather broad) more specific, by computing URLs to invalidate. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Antonio Beyah updated an issue Jenkins / JENKINS-36865 Stage view showing wrong pipeline data Change By: Antonio Beyah 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:{code: groovy java }import com.cloudbees.workflow.flownode.FlowNodeUtilFlowNodeUtil.CacheExtension ext = FlowNodeUtil.CacheExtension.all().get(0);ext.getExecutionCache().invalidateAll();ext.getRunCache().invalidateAll();{code} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To
[JIRA] (JENKINS-36865) Stage view showing wrong pipeline data
Title: Message Title Antonio Beyah created an issue Jenkins / JENKINS-36865 Stage view showing wrong pipeline data Issue Type: Bug Assignee: Sam Van Oort Attachments: pipeline_stage_view_bug_after_clearing_cache.png, pipeline_stage_view_bug_before.png Components: pipeline-stage-view-plugin Created: 2016/Jul/22 3:19 AM Environment: Jenkins 2.11, Pipeline Stage View v1.6, CentOS 7 Priority: Minor Reporter: Antonio Beyah 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: Unable to find source-code formatter for language: groovy. Available languages are: actionscript, html, java, _javascript_, none, sql, xhtml, xml import com.cloudbees.workflow.flownode.FlowNodeUtil FlowNodeUtil.CacheExtension ext = FlowNodeUtil.CacheExtension.all().get(0);