[JIRA] (JENKINS-39229) Regression: Initial stage run does not show graph

2016-12-02 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale updated  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 Michael Neale  
 
 
Status: 
 In Review Resolved  
 
 
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-39229) Regression: Initial stage run does not show graph

2016-12-01 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale updated  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 Michael Neale  
 
 
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-39229) Regression: Initial stage run does not show graph

2016-11-29 Thread tscher...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thorsten Scherler commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 Michael Neale yeah you are right I was able to reproduce it only once before. I will try your scripts now.  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-28 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 I tried and this seems too timing sensitive to be able to pick up with the ATH  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-28 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 Nice one Michael Neale. Not sure why my example didn't work... scratches head  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-28 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale edited a comment on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 I can't consistently reproduce this - can anyone else?  EDIT: got it, needs to have something happen before a stage opens :{noformat}node {  sh 'ping -c 10 www.apple.com'  stage ('Build1') {  sh 'ping -c 10 www.apple.com'  }  stage ('Build2') {  sh 'ping -c 10 www.apple.com'  }  stage ('Build3') {  sh 'ping -c 10 www.apple.com'  }  stage ('Build4') {  sh 'ping -c 10 www.apple.com'  }  stage ('Build5') {  sh 'ping -c 10 www.apple.com'  }}{noformat}checkout scm will also do that - is timing sensitive.
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-28 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 I can't consistently reproduce this - can anyone else?   
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-24 Thread tscher...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thorsten Scherler started work on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Thorsten Scherler  
 
 
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-39229) Regression: Initial stage run does not show graph

2016-11-24 Thread tscher...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thorsten Scherler assigned an issue to Thorsten Scherler  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 Thorsten Scherler  
 
 
Assignee: 
 Tom FENNELLY Thorsten Scherler  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vivek Pandey edited a comment on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 [~jamesdumay] Nothing to do with bismuth. Its just that SSE code is not aware of block scoped stages. SSE code should use PipelineNodeUtil to determine whether given node is stage or not or to get stage name etc. Current SSE code relies on StageAction, that was for non-block scoped stage, so won't work for blocked scoped stage.To keep SSE pipeline related code and /nodes API in sync, I suggest it uses whats implemented in /nodes. For example code something like following is all it needs. I can make it more general purpose if needed. Otherwise there is always going to be duplication in some form and things can get out of sync. For example handling of synthetic stage, SSE might treat as normal stage and fire event where as such stages won't appear in the DAG returned by /nodes API. {code}NodeGraphBuilder graphBuilder graphBuilder = NodeGraphBuilder.NodeGraphBuilderFactory.getInstance(workflowRun);public List getStages(NodeGraphBuilder builder){List nodes = new ArrayList<>();for(FlowNodeWrapper node: builder.getPipelineNodes()){if(node.type == FlowNodeWrapper.NodeType.STAGE){nodes.add(node.getNode());}}return nodes;}public List getStagesAndParallels(NodeGraphBuilder builder){List nodes = new ArrayList<>();for(FlowNodeWrapper node: builder.getPipelineNodes()){if(node.type == FlowNodeWrapper.NodeType.STAGE || node.type == FlowNodeWrapper.NodeType.PARALLEL){nodes.add(node.getNode());}}return nodes;}public List  getStagesAndParallels  getParallels (NodeGraphBuilder builder){List nodes = new ArrayList<>();for(FlowNodeWrapper node: builder.getPipelineNodes()){if(node.type == FlowNodeWrapper.NodeType.PARALLEL){nodes.add(node.getNode());}}return nodes;}{code}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
  

[JIRA] (JENKINS-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale assigned an issue to Tom FENNELLY  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Thanks Thorsten Scherler, I think perhaps Tom FENNELLY might be able to tackle this later this week?  Vivek is out for thanksgiving - Tom FENNELLY able to take a look?   
 

  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 Michael Neale  
 
 
Assignee: 
 tom kessler Tom FENNELLY  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale stopped work on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Michael Neale  
 
 
Status: 
 In Progress Open  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale assigned an issue to tom kessler  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 Michael Neale  
 
 
Assignee: 
 tom kessler  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Assignee: 
 Thorsten Scherler  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vivek Pandey commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 James Dumay Nothing to do with bismuth. Its just that SSE code is not aware of block scoped stages. SSE code should use PipelineNodeUtil to determine whether given node is stage or not or to get stage name etc. Current SSE code relies on StageAction, that was for non-block scoped stage, so won't work for blocked scoped stage. To keep SSE pipeline related code and /nodes API in sync, I suggest it uses whats implemented in /nodes. For example code something like following is all it needs. I can make it more general purpose if needed. Otherwise there is always going to be duplication in some form and things can get out of sync. For example handling of synthetic stage, SSE might treat as normal stage and fire event where as such stages won't appear in the DAG returned by /nodes API.  

 

NodeGraphBuilder graphBuilder graphBuilder = NodeGraphBuilder.NodeGraphBuilderFactory.getInstance(workflowRun);

public List getStages(NodeGraphBuilder builder){
List nodes = new ArrayList<>();
for(FlowNodeWrapper node: builder.getPipelineNodes()){
if(node.type == FlowNodeWrapper.NodeType.STAGE){
nodes.add(node.getNode());
}
}

return nodes;
}
public List getStagesAndParallels(NodeGraphBuilder builder){
List nodes = new ArrayList<>();
for(FlowNodeWrapper node: builder.getPipelineNodes()){
if(node.type == FlowNodeWrapper.NodeType.STAGE || node.type == FlowNodeWrapper.NodeType.PARALLEL){
nodes.add(node.getNode());
}
}

return nodes;
}

public List getStagesAndParallels(NodeGraphBuilder builder){
List nodes = new ArrayList<>();
for(FlowNodeWrapper node: builder.getPipelineNodes()){
if(node.type == FlowNodeWrapper.NodeType.PARALLEL){
nodes.add(node.getNode());
}
}

return nodes;
}
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
  

[JIRA] (JENKINS-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 Thorsten Scherler thanks mate. Perhaps this is related to a few changes Vivek Pandey made when we adopted bismuth?  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread tscher...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thorsten Scherler commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 I located the problematic part and I am surprised that Karaoke is still working. src/main/java/io/jenkins/blueocean/events/PipelineEventListener.java around line 155 It seems that currentStageName is now always null (not have been like that before) in src/main/js/components/RunDetailsPipeline.jsx we are using event.pipeline_step_stage_id to determine whether to fetchNodes or fetchSteps. However that is not set anymore. Will need to debug PipelineEventListener why the currentStageName now is always null   
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread tscher...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thorsten Scherler commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 The problem is that the first answer for nodes is empty 
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread tscher...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thorsten Scherler updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 Thorsten Scherler  
 
 
Attachment: 
 Screenshot from 2016-11-22 17-08-17.png  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread tscher...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thorsten Scherler commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 Yes I can reproduce it with g...@github.com:scherler/multiKultiBranch.git  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread tscher...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thorsten Scherler commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 Removing the checkout line and replacing it with echo in a normal pipeline works. I will now try as multibranch since the script makes only sense as multibranch  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-22 Thread tscher...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thorsten Scherler commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 James Dumay The pipeline you have posted is throwing an exception in my system:  

 

Started by user Thorsten Scherler
2 	[Pipeline] node
3 	Running on master in /home/thorsten/opt/src/cloudbees/blueocean-plugin/blueocean/work/workspace/JENKINS-39229_Regression_Initial_stage_run_does_not_show_graph
4 	[Pipeline] {
5 	[Pipeline] }
6 	[Pipeline] // node
7 	[Pipeline] End of Pipeline
8 	java.lang.IllegalStateException: inappropriate context
9 		at org.jenkinsci.plugins.workflow.multibranch.SCMVar.getValue(SCMVar.java:78)
10 		at org.jenkinsci.plugins.workflow.multibranch.SCMVar.getValue(SCMVar.java:56)
11 		at org.jenkinsci.plugins.workflow.cps.CpsScript.getProperty(CpsScript.java:128)
12 		at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:172)
13 		at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getProperty(ScriptBytecodeAdapter.java:456)
14 		at org.kohsuke.groovy.sandbox.impl.Checker$4.call(Checker.java:243)
15 		at org.kohsuke.groovy.sandbox.GroovyInterceptor.onGetProperty(GroovyInterceptor.java:52)
16 		at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:308)

 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   






[JIRA] (JENKINS-39229) Regression: Initial stage run does not show graph

2016-11-20 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Sprint: 
 indian, arctic , tasman  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-07 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 Thanks Thorsten Scherler!  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-07 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay started work on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
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-39229) Regression: Initial stage run does not show graph

2016-11-07 Thread tscher...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thorsten Scherler commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 I will have a look but that appeared to be caused that the initial response is not conform to what we had before. I remember a ticket with parallel where the first run did weird things, since the initial response has changed.  

{ (hasResultsForSteps || isPipelineQueued) && nodes && nodes[nodeKey] && !this.mergedConfig.forceLogView && 

[JIRA] (JENKINS-39229) Regression: Initial stage run does not show graph

2016-11-06 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Priority: 
 Critical Blocker  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-11-06 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Sprint: 
 indian , arctic  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-10-25 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay assigned an issue to Thorsten Scherler  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Assignee: 
 Vivek Pandey Thorsten Scherler  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-10-25 Thread vivek (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vivek Pandey commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 James Dumay backend API is returning DAG. it might have something to do with UI reacting to SSE and there is some bug in SSE where it deals with blocked scope stages. I tried the same script modified as legacy (non blocked scope) and it appears fine. Brief look at JS code tells me, DAG is drawn using SSE events and not by fetching DAG from node API. Thorsten Scherler please confirm if my evaluation is correct.  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-10-24 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 

  
 
 
 
 

 
 I saw something strange while testing blue ocean on b10Here's the pipeline:{code}node {  checkout scm  stage ('Build1') {   sh '   ping -c 10 www.apple.com '   }  stage ('Build2') {   sh '   ping -c 10 www.apple.com '   }  stage ('Build3') {   sh '   ping -c 10 www.apple.com '   }  stage ('Build4') {   sh '   ping -c 10 www.apple.com '   }  stage ('Build5') {   sh '   ping -c 10 www.apple.com '   }}{code}This is what the initial build looks like: !Oct.-25-2016 15-16-51.gif! Ideally we should have a regression test for this problem.  
 

  
 
 
 
 

 
 
 

 
 
 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 

[JIRA] (JENKINS-39229) Regression: Initial stage run does not show graph

2016-10-24 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay edited a comment on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 [~vivek] please take a look when you get the chance.  Not sure if this is a frontend or backend issue.  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-10-24 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 

  
 
 
 
 

 
 I saw something strange while testing blue ocean on b10Here's the pipeline:{code}node {  checkout scm  stage ('Build1') {   sh 'sleep 1'   ping -c 10 www.apple.com    sh 'sleep 1'   }  stage ('Build2') {   sh 'sleep 1'   ping -c 10 www.apple.com    sh 'sleep 1'   }  stage ('Build3') {   sh 'sleep 1'   ping -c 10 www.apple.com    sh 'sleep 1'   }  stage ('Build4') {   sh 'sleep 1'   ping -c 10 www.apple.com    sh 'sleep 1'   }  stage ('Build5') {   sh 'sleep 1'   ping -c 10 www.apple.com    sh 'sleep 1'   }}{code}This is what the initial build looks like: !Oct.-25-2016 15-16-51.gif! Ideally we should have a regression test for this problem.  
 

  
 
 
 
 

 
 
 

 
 
 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 

[JIRA] (JENKINS-39229) Regression: Initial stage run does not show graph

2016-10-24 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 

  
 
 
 
 

 
 I saw something strange while testing blue ocean on b10Here's the pipeline:{code}node {  checkout scm  stage ('Build1') {  sh 'sleep 1'  sh 'sleep 1'  }  stage ('Build2') {  sh 'sleep 1'  sh 'sleep 1'  }  stage ('Build3') {  sh 'sleep 1'  sh 'sleep 1'  }  stage ('Build4') {  sh 'sleep 1'  sh 'sleep 1'  }  stage ('Build5') {  sh 'sleep 1'  sh 'sleep 1'  }}{code}This is what the initial build looks like: !Oct.-25-2016 15-16-51.gif!Ideally we should have a regression test for this problem.  
 

  
 
 
 
 

 
 
 

 
 
 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 

[JIRA] (JENKINS-39229) Regression: Initial stage run does not show graph

2016-10-24 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay commented on  JENKINS-39229  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
 Vivek Pandey please take a look when you get the chance.  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-10-24 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Sprint: 
 indian  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-10-24 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay assigned an issue to Vivek Pandey  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Assignee: 
 Vivek Pandey  
 

  
 
 
 
 

 
 
 

 
 
 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-39229) Regression: Initial stage run does not show graph

2016-10-24 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39229  
 
 
  Regression: Initial stage run does not show graph   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 Oct.-25-2016 15-16-51.gif  
 
 
Components: 
 blueocean-plugin  
 
 
Created: 
 2016/Oct/25 4:34 AM  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 James Dumay  
 

  
 
 
 
 

 
 I saw something strange while testing blue ocean on b10 Here's the pipeline: 

 

node {
  checkout scm
  stage ('Build1') {
  sh 'sleep 1'
  sh 'sleep 1'
  }
  stage ('Build2') {
  sh 'sleep 1'
  sh 'sleep 1'
  }
  stage ('Build3') {
  sh 'sleep 1'
  sh 'sleep 1'
  }
  stage ('Build4') {
  sh 'sleep 1'
  sh 'sleep 1'
  }
  stage ('Build5') {
  sh 'sleep 1'
  sh 'sleep 1'
  }
}
 

 This is what the initial build looks like: