[JIRA] (JENKINS-51441) "Replay" doesn't work if declarative pipeline crashes: "execution did not yet start"

2018-08-08 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-51441  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: "Replay" doesn't work if declarative pipeline crashes: "execution did not yet start"   
 

  
 
 
 
 

 
 Correct.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-51441) "Replay" doesn't work if declarative pipeline crashes: "execution did not yet start"

2018-08-08 Thread christian.vonrueti+jenk...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christian V commented on  JENKINS-51441  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: "Replay" doesn't work if declarative pipeline crashes: "execution did not yet start"   
 

  
 
 
 
 

 
 So, if I use Replay, modify the build script, accidentally introduce a syntax error, run the modified replay, I lose my work? I can understand if it's a current limitation of the replay system, that's fine with me, maybe this should be a feature request then instead.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-51441) "Replay" doesn't work if declarative pipeline crashes: "execution did not yet start"

2018-08-08 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer updated  JENKINS-51441  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Yes, this is expected and correct behavior - Replay only works if the Pipeline execution has started, but if the Declarative Pipeline fails validation/compilation, then the Pipeline never actually starts executing and can't be replayed.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-51441  
 
 
  "Replay" doesn't work if declarative pipeline crashes: "execution did not yet start"   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Status: 
 In Progress Fixed but Unreleased  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-51441) "Replay" doesn't work if declarative pipeline crashes: "execution did not yet start"

2018-08-08 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51441  
 
 
  "Replay" doesn't work if declarative pipeline crashes: "execution did not yet start"   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Component/s: 
 pipeline-model-definition-plugin  
 
 
Component/s: 
 pipeline  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-51441) "Replay" doesn't work if declarative pipeline crashes: "execution did not yet start"

2018-05-20 Thread christian.vonrueti+jenk...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christian V created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51441  
 
 
  "Replay" doesn't work if declarative pipeline crashes: "execution did not yet start"   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 image-2018-05-20-14-17-47-466.png  
 
 
Components: 
 pipeline  
 
 
Created: 
 2018-05-20 12:17  
 
 
Environment: 
 Windows, Subversion, declarative pipeline  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Christian V  
 

  
 
 
 
 

 
 When any of my declarative pipelines crash due to a syntax error or an incorrect step invocation, "replay" doesn't work:   

 

WARNING: Error fetching execution for replay
java.io.IOException: Documentation #20 did not yet start
at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:1104)
at org.jenkinsci.plugins.workflow.cps.replay.ReplayAction.getExecutionBlocking(ReplayAction.java:126)
at org.jenkinsci.plugins.workflow.cps.replay.ReplayAction.isReplayableSandboxTest(ReplayAction.java:166)
at sun.reflect.GeneratedMethodAccessor3014.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
at