[JIRA] (JENKINS-35663) Aborting pipeline build does not work

2017-02-15 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-35663  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Aborting pipeline build does not work   
 

  
 
 
 
 

 
 

I abort the build but my threads continue to run.
 StepExecution.stop though this would be a dev list question generally.  
 

  
 
 
 
 

 
 
 

 
 
 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-35663) Aborting pipeline build does not work

2017-02-10 Thread kyle.calica-steinhil...@workday.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 kyle calica commented on  JENKINS-35663  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Aborting pipeline build does not work   
 

  
 
 
 
 

 
 I'm actually having a similar problem. I have a plugin I am developing that creates a bunch of parallel threads. I abort the build but my threads continue to run.  In my own code I have done this crazy catch all thing to try and kill them. Doesn't work. I so far have to wait for them to finish out no matter what.  

 catch(InterruptedException e) { 
 listener.getLogger().println("Stopping all scenarios due to: " + e.toString()); executor.shutdownNow(); //halts all tasks 
 //tries to shutdown all threads again try { // Wait a while for existing tasks to terminate if (!executor.awaitTermination(60, TimeUnit.SECONDS))  

Unknown macro: { executor.shutdownNow(); // Cancel currently executing tasks // Wait a while for tasks to respond to being cancelled if (!executor.awaitTermination(60, TimeUnit.SECONDS)) System.err.println("Thread pool did not terminate"); } 
 
 } catch (InterruptedException ie)  

Unknown macro: { // (Re-)Cancel if current thread also interrupted executor.shutdownNow(); // Preserve interrupt status Thread.currentThread().interrupt(); } 
 
 //cancel each future in case it couldn't cancel threads try{ for(Future r : futures) 

Unknown macro: { listener.getLogger().println( "Cancelling} 
 
 }catch(ExecutionException ex) 

Unknown macro: { ex.printStackTrace(); listener.getLogger().println("Not able to cancel threads."); } 
 
 e.printStackTrace(); 
 throw e;
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 
   

[JIRA] (JENKINS-35663) Aborting pipeline build does not work

2016-11-02 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick resolved as Incomplete  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35663  
 
 
  Aborting pipeline build does not work   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Incomplete  
 

  
 
 
 
 

 
 
 

 
 
 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-35663) Aborting pipeline build does not work

2016-08-29 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35663  
 
 
  Aborting pipeline build does not work   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Component/s: 
 workflow-cps-plugin  
 
 
Component/s: 
 pipeline  
 

  
 
 
 
 

 
 
 

 
 
 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-35663) Aborting pipeline build does not work

2016-08-29 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-35663  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Aborting pipeline build does not work   
 

  
 
 
 
 

 
 Would need a minimal, self-contained reproducible test case.  
 

  
 
 
 
 

 
 
 

 
 
 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-35663) Aborting pipeline build does not work

2016-08-11 Thread dodoentertainm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nenad Miksa commented on  JENKINS-35663  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Aborting pipeline build does not work   
 

  
 
 
 
 

 
 Our pipeline which causes this behaviour is attached buildCore.groovy common.groovy - you can modify them for your needs to reproduce the 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-35663) Aborting pipeline build does not work

2016-08-11 Thread dodoentertainm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nenad Miksa updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35663  
 
 
  Aborting pipeline build does not work   
 

  
 
 
 
 

 
Change By: 
 Nenad Miksa  
 
 
Attachment: 
 bitbucket.groovy  
 

  
 
 
 
 

 
 
 

 
 
 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-35663) Aborting pipeline build does not work

2016-08-11 Thread dodoentertainm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nenad Miksa updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35663  
 
 
  Aborting pipeline build does not work   
 

  
 
 
 
 

 
Change By: 
 Nenad Miksa  
 
 
Attachment: 
 bitbucket.groovy  
 
 
Attachment: 
 buildCore.groovy  
 
 
Attachment: 
 common.groovy  
 

  
 
 
 
 

 
 
 

 
 
 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-35663) Aborting pipeline build does not work

2016-08-11 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Any known way to reproduce from scratch? What software versions?  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-35663  
 
 
  Aborting pipeline build does not work   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Component/s: 
 workflow-multibranch-plugin  
 
 
Assignee: 
 Manuel Recena Soto  
 

  
 
 
 
 

 
 
 

 
 
 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 

[JIRA] (JENKINS-35663) Aborting pipeline build does not work

2016-07-11 Thread alv...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dan Alvizu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35663  
 
 
  Aborting pipeline build does not work   
 

  
 
 
 
 

 
Change By: 
 Dan Alvizu  
 
 
Component/s: 
 workflow-plugin  
 
 
Component/s: 
 build-pipeline-plugin  
 

  
 
 
 
 

 
 
 

 
 
 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.