[JIRA] (JENKINS-61959) CpsThread(Timeout) raises InterruptedException

2020-05-04 Thread thomas.ullr...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thomas Ullrich commented on  JENKINS-61959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: CpsThread(Timeout) raises InterruptedException   
 

  
 
 
 
 

 
 Thanks for the link. I tried it out and it worked. Great!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205843.1587205537000.21439.1588653720136%40Atlassian.JIRA.


[JIRA] (JENKINS-61959) CpsThread(Timeout) raises InterruptedException

2020-05-02 Thread thomas.ullr...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thomas Ullrich commented on  JENKINS-61959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: CpsThread(Timeout) raises InterruptedException   
 

  
 
 
 
 

 
 Can you tell me any examples for these asynchronous operations?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205843.1587205537000.20595.1588455840130%40Atlassian.JIRA.


[JIRA] (JENKINS-61959) CpsThread(Timeout) raises InterruptedException

2020-05-01 Thread thomas.ullr...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thomas Ullrich assigned an issue to Jesse Glick  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61959  
 
 
  CpsThread(Timeout) raises InterruptedException   
 

  
 
 
 
 

 
Change By: 
 Thomas Ullrich  
 
 
Assignee: 
 Jesse Glick  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205843.1587205537000.20374.1588351320155%40Atlassian.JIRA.


[JIRA] (JENKINS-61959) CpsThread(Timeout) raises InterruptedException

2020-04-18 Thread thomas.ullr...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thomas Ullrich updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61959  
 
 
  CpsThread(Timeout) raises InterruptedException   
 

  
 
 
 
 

 
Change By: 
 Thomas Ullrich  
 

  
 
 
 
 

 
 Our declarative pipeline(for isolating the problem) is using a custom step of our shared library. This custom step shall represent a long running REST call by just calling Thread.sleep (36).Code: {{pipeline\{agent{label'master'}options\{ timestamps() buildDiscarder(logRotator(numToKeepStr: '10'))skipDefaultCheckout()}stages\{ stage('Thread.sleep'){steps{sleepService(36)}}Custom step from shared library: {{import java.lang.*;def String call(long millis) \{timeout(600){echo "Current thread name: ${Thread.currentThread().getName()}"echo "Current thread classname: ${Thread.currentThread().getClass().getName()}"Thread.sleep (millis)Executing this, is causing the following exception: {{java.lang.InterruptedException: sleep interruptedat java.lang.Thread.sleep(Native Method)at java_lang_Thread$sleep.call(Unknown Source)at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20)at soiServiceSleep.call(soiServiceSleep.groovy:9)at ___cps.transform___(Native Method)at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:86)at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:113)at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:83)at sun.reflect.GeneratedMethodAccessor577.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)at com.cloudbees.groovy.cps.impl.LocalVariableBlock$LocalVariable.get(LocalVariableBlock.java:39)at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30)at com.cloudbees.groovy.cps.impl.LocalVariableBlock.evalLValue(LocalVariableBlock.java:28)at com.cloudbees.groovy.cps.LValueBlock$BlockImpl.eval(LValueBlock.java:55)at com.cloudbees.groovy.cps.LValueBlock.eval(LValueBlock.java:16)at com.cloudbees.groovy.cps.Next.step(Next.java:83)at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129)at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268)at com.cloudbees.groovy.cps.Continuable.run0(Continuabl

[JIRA] (JENKINS-61959) CpsThread(Timeout) raises InterruptedException

2020-04-18 Thread thomas.ullr...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thomas Ullrich created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61959  
 
 
  CpsThread(Timeout) raises InterruptedException   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 workflow-cps-plugin  
 
 
Created: 
 2020-04-18 10:25  
 
 
Environment: 
 Jenkins ver. 2.190.1  workflow CPS plugin ver. 2.80  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Thomas Ullrich  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

[JIRA] (JENKINS-61117) Enable Active Choices plugin for Jenkins declarative pipelin

2020-02-17 Thread thomas.ullr...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thomas Ullrich created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61117  
 
 
  Enable Active Choices plugin for Jenkins declarative pipelin   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Bruno P. Kinoshita  
 
 
Components: 
 active-choices-plugin  
 
 
Created: 
 2020-02-17 16:50  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Thomas Ullrich  
 

  
 
 
 
 

 
 We want to use the functionality of the Active Choices plugin within our declarative pipelines. Therefore I request an enablement for the DSL.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713