[JIRA] (JENKINS-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Reinhold Füreder edited a comment on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes However, I claim this (also) solved from JENKINS-5 (at least my in the past easily reproducible problem mentioned in https://issues.jenkins-ci.org/browse/JENKINS-5?focusedCommentId=343321&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-343321) : - ) 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Reinhold Füreder commented on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes However, I claim this solved from JENKINS-5 (at least my in the past easily reproducible problem mentioned in https://issues.jenkins-ci.org/browse/JENKINS-5?focusedCommentId=343321&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-343321) 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Reinhold Füreder commented on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes Stuart Rowe Ad https://issues.jenkins-ci.org/browse/JENKINS-55497?focusedCommentId=359502&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-359502: No, unfortunately it has not solved JENKINS-46521 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Gavin Mogan updated JENKINS-55497 Jenkins / JENKINS-55497 BlueOcean Pipeline View for the Latest Run shows No Changes Change By: Gavin Mogan Status: Fixed but Unreleased Resolved Released As: 1.14.0 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Gavin Mogan commented on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes if all goes as plan, wed should be 1.14 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe commented on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes Gavin Mogan do you expect that this will be released this week? 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Gavin Mogan updated JENKINS-55497 This is in master, so marking it as resolved (unreleased). I know nicu and I were poking at this problem a couple weeks ago so I'm very happy you solved it. Next release might be this week, but more likely week of the 18th. Jenkins / JENKINS-55497 BlueOcean Pipeline View for the Latest Run shows No Changes Change By: Gavin Mogan Status: In Progress Fixed but Unreleased Resolution: Fixed 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe commented on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes Gavin Mogan exactly. For the link above, you see this: Instead of the populated change set you see when navigating from the activity page to the most recent run https://ci.blueocean.io/blue/organizations/jenkins/Blue%20Ocean%20docker%20image/activity 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe updated an issue Jenkins / JENKINS-55497 BlueOcean Pipeline View for the Latest Run shows No Changes Change By: Stuart Rowe Attachment: image-2019-03-04-14-59-16-553.png 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe updated an issue Jenkins / JENKINS-55497 BlueOcean Pipeline View for the Latest Run shows No Changes Change By: Stuart Rowe Attachment: image-2019-03-04-14-57-44-135.png 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Gavin Mogan commented on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes Stuart Rowe so if i understand this correctly. This is if you goto a non multi branch pipeline's changes page directly? https://ci.blueocean.io/blue/organizations/jenkins/Blue%20Ocean%20docker%20image/detail/Blue%20Ocean%20docker%20image/891/changes/ 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe commented on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes In progress: https://github.com/jenkinsci/blueocean-plugin/pull/1919 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe assigned an issue to Stuart Rowe Jenkins / JENKINS-55497 BlueOcean Pipeline View for the Latest Run shows No Changes Change By: Stuart Rowe Assignee: Stuart Rowe 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe started work on JENKINS-55497 Change By: Stuart Rowe Status: Open In Progress 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe updated an issue Jenkins / JENKINS-55497 BlueOcean Pipeline View for the Latest Run shows No Changes Change By: Stuart Rowe In these cases, the pipeline view shows no changes even though the classic run page shows a There is always an empty changeset and the blueocean run rest endpoint returns a changeset.The changeset in BlueOcean for a run doesn't get populated until the next latest run of a project starts. The changeset doesn't appear to be populated when a run completes either.Navigation is navigating to the BlueOcean pipeline view is from the classic UI for that run page by following (from {{https:///job//}}, click the {{Open Blue Ocean}} link from in the left hand side navigation bar ) . This is occurring issue occurs for standard pipeline jobs using {{checkout}} steps with the {{perforce}} scm configured (p4-plugin). The pipelines are defined using scripted pipeline. This The issue applies to, but is not likely limited to , all of the following pages: * blue/organizations/jenkins//detail///pipeline * blue/organizations/jenkins//detail///pipeline/changes this context. 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 receivin
[JIRA] (JENKINS-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe edited a comment on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes Debugging this issue has demonstrated the following: # Loading the pipeline page triggers an initial pipeline fetch / preload # During this preload, the latest run is retrieved because {{BluePipeline#getLatestRun}} is annotated as exported (see callstack below) # The {{PipelineImpl#getLatestRun}} implementation returns a {{PipelineRunSummary}} which doesn't include the changeset information # Eventually the fetched run object gets cached by the BunkerService on the React/JS side (I'm unclear on the exact mechanism behind this, but I witnessed it with a breakpoint in the {{BunkerService#setItem}} method) # When then the {{RunDetails}} react component is mounted for the latest run, the fetch hits the cached run object which has any with the empty changeSet*Callstack:*{noformat}PipelineRunImpl.(WorkflowRun,Reachable,BlueOrganization) (./blueocean-plugin/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/PipelineRunImpl.java:59)PipelineImpl.getLatestRun() (./blueocean-plugin/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/PipelineImpl.java:44)1685057083.invokeVirtual_L_L(Object,Object) (Unknown Source:-1)1660368647.reinvoke(Object,Object) (Unknown Source:-1)1672221507.invoke_MT(Object,Object,Object) (Unknown Source:-1)MethodProperty.getValue(Object) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/MethodProperty.java:72)ExportInterceptor$1.getValue(Property,Object,ExportConfig) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/ExportInterceptor.java:46)Export$BlueOceanExportInterceptor.getValue(Property,Object,ExportConfig) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/Export.java:196)Property.writeTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Property.java:136)Model.writeNestedObjectTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:228)Model.writeNestedObjectTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:224)Model.writeNestedObjectTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:224)Model.writeTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:199)Model.writeTo(Object,int,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:219)Model.writeTo(Object,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:183)Export.toJson(Object,Writer,boolean) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/Export.java:90)Export.toJson(Object,boolean) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/Export.java:59)Export.toJson(Object) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/Export.java:46)PipelineStatePreloader.getFetchData(BlueUrlTokenizer) (./blueocean-plugin/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/preload/PipelineStatePreloader.java:66)RESTFetchPreloader.getStateJson() (./blueocean-plugin/blu
[JIRA] (JENKINS-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe commented on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes One solution would be to override getChangeSet in PipelineRunSummary. 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-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe edited a comment on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes Debugging this issue has demonstrated the following: # Loading the pipeline page triggers an initial pipeline fetch / preload # During this preload, the latest run is retrieved because {{BluePipeline#getLatestRun}} is annotated as exported (see callstack below) {code:java}/** * @return # The Latest Run for the branch */@Exported(name = LATEST_RUN, inline = true)public abstract BlueRun {{PipelineImpl# getLatestRun (); }} implementation returns a { code {PipelineRunSummary } } which doesn't include the changeset information# The retrieved latest Eventually the fetched run is object gets cached by the BunkerService on the React/JS side # Later, when the When then {{ RunDetails }} react component mounts, it fetches is mounted for the latest run and , the fetch hits the cached value run object which does not have has any associated empty changeSet data *Callstack:* {noformat}PipelineRunImpl.(WorkflowRun,Reachable,BlueOrganization) (./blueocean-plugin/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/PipelineRunImpl.java:59)PipelineImpl.getLatestRun() (./blueocean-plugin/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/PipelineImpl.java:44)1685057083.invokeVirtual_L_L(Object,Object) (Unknown Source:-1)1660368647.reinvoke(Object,Object) (Unknown Source:-1)1672221507.invoke_MT(Object,Object,Object) (Unknown Source:-1)MethodProperty.getValue(Object) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/MethodProperty.java:72)ExportInterceptor$1.getValue(Property,Object,ExportConfig) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/ExportInterceptor.java:46)Export$BlueOceanExportInterceptor.getValue(Property,Object,ExportConfig) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/Export.java:196)Property.writeTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Property.java:136)Model.writeNestedObjectTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:228)Model.writeNestedObjectTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:224)Model.writeNestedObjectTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:224)Model.writeTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:199)Model.writeTo(Object,int,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:219)Model.writeTo(Object,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:183)Export.toJson(Object,Writer,boolean) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/Export.java:90)Export.toJson(Object,boolean) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/Export.java:59)Export.toJson(Object) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/Export.java:46)PipelineStatePreloader.getFetchData(BlueUrlTokenizer) (./blueocean-plugin/blueocean-
[JIRA] (JENKINS-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe commented on JENKINS-55497 Re: BlueOcean Pipeline View for the Latest Run shows No Changes Debugging this issue has demonstrated the following: Loading the pipeline page triggers an initial pipeline fetch / preload During this preload, the latest run is retrieved because BluePipeline#getLatestRun is annotated as exported (see callstack below) /** * @return The Latest Run for the branch */ @Exported(name = LATEST_RUN, inline = true) public abstract BlueRun getLatestRun(); The retrieved latest run is cached by the BunkerService Later, when the RunDetails component mounts, it fetches the run and hits the cached value which does not have any associated changeSet data Callstack: PipelineRunImpl.(WorkflowRun,Reachable,BlueOrganization) (./blueocean-plugin/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/PipelineRunImpl.java:59) PipelineImpl.getLatestRun() (./blueocean-plugin/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/PipelineImpl.java:44) 1685057083.invokeVirtual_L_L(Object,Object) (Unknown Source:-1) 1660368647.reinvoke(Object,Object) (Unknown Source:-1) 1672221507.invoke_MT(Object,Object,Object) (Unknown Source:-1) MethodProperty.getValue(Object) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/MethodProperty.java:72) ExportInterceptor$1.getValue(Property,Object,ExportConfig) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/ExportInterceptor.java:46) Export$BlueOceanExportInterceptor.getValue(Property,Object,ExportConfig) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/Export.java:196) Property.writeTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Property.java:136) Model.writeNestedObjectTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:228) Model.writeNestedObjectTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:224) Model.writeNestedObjectTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:224) Model.writeTo(Object,TreePruner,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/Model.java:199) Model.writeTo(Object,int,DataWriter) (./blueocean-plugin/blueocean-commons/src/main/java/io/j
[JIRA] (JENKINS-55497) BlueOcean Pipeline View for the Latest Run shows No Changes
Title: Message Title Stuart Rowe updated an issue Jenkins / JENKINS-55497 BlueOcean Pipeline View for the Latest Run shows No Changes Change By: Stuart Rowe Summary: BlueOcean Pipeline View sometimes for the Latest Run shows No Changes 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.