[JIRA] (JENKINS-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

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


 
 
 
 

 
 
 

 
   
 Jesse Glick resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Please file any regressions separately, blocking this one and using the regression keyword.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-34517  
 
 
  Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Status: 
 Reopened 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 

[JIRA] (JENKINS-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-07-20 Thread vehov...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Vehovsky commented on  JENKINS-34517  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
 Yes, but I really don't want to rewrite all my workflows, just because of regression.  
 

  
 
 
 
 

 
 
 

 
 
 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-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-07-19 Thread pieckoma...@googlemail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sebastian Pieck commented on  JENKINS-34517  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
 Same issue for me. One workaround is to put your groovy-script into the "src"-folder into a package and instantiate it the "classical" way. I hope this helps anyone, because it took me some time to realize   
 

  
 
 
 
 

 
 
 

 
 
 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-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-07-19 Thread vehov...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Vehovsky reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 This introduced major regression, see below: There seems to be issue with invoking static methods on global variables after updating to 2.1. (I reverted back to 2.0 already)  Following is supposed to work: workflowLibs/vars/TEST.groovy 

 

def testMethod(String options = '') {
...
}
 

 

 

hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: static TEST.testMethod() is applicable for argument types: (java.lang.String) values: [47380]
Possible solutions: testMethod(java.lang.String), testMethod()
	at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1367)
	at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1353)
	at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:50)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15)
	at WorkflowScript.run(WorkflowScript:6)

 

  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-34517  
 
 
  Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
Change By: 
 Martin Vehovsky  
 
 
Resolution: 
 Fixed  
 
 
Status: 
 Resolved Reopened  
 

  
 
 
 
 

 
 
 

 

[JIRA] (JENKINS-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-07-15 Thread vehov...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Vehovsky commented on  JENKINS-34517  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
 davidkarlsen I would expect some feedback from Jesse Glick ...  
 

  
 
 
 
 

 
 
 

 
 
 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-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-07-05 Thread davidkarl...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 davidkarlsen commented on  JENKINS-34517  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
 ping (we're a CB customer - so this actually came from issue #35678 in zendesk)  
 

  
 
 
 
 

 
 
 

 
 
 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-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-07-02 Thread davidkarl...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 davidkarlsen edited a comment on  JENKINS-34517  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
 So should this be reopened or reported as a new issue?  Could a new release be done after that as we'd really like to get this one.  
 

  
 
 
 
 

 
 
 

 
 
 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-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-07-02 Thread davidkarl...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 davidkarlsen commented on  JENKINS-34517  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
 So should this be reopened or reported as a new 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-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-07-01 Thread vehov...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Vehovsky commented on  JENKINS-34517  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
 There seems to be issue with invoking static methods on global variables after updating to 2.1. (I reverted back to 2.0 already)  Following is supposed to work: workflowLibs/vars/TEST.groovy 

 

def testMethod(String options = '') {
...
}
 

 

 

hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: static TEST.testMethod() is applicable for argument types: (java.lang.String) values: [47380]
Possible solutions: testMethod(java.lang.String), testMethod()
	at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1367)
	at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1353)
	at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:50)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15)
	at WorkflowScript.run(WorkflowScript:6)

 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

[JIRA] (JENKINS-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-06-30 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Released as 2.1.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-34517  
 
 
  Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Status: 
 In Progress 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 

[JIRA] (JENKINS-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

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


 
 
 
 

 
 
 

 
   
 Jesse Glick started work on  JENKINS-34517  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
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-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-06-23 Thread davidkarl...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 davidkarlsen edited a comment on  JENKINS-34517  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
 Even worse - the whole job can go into an illegal state. The job broke on startup with this issue 1), but the next is waiting for the previous one to complete1){noformat}18:57:11 Waiting for builds [717]Resuming build[Pipeline] End of Pipeline[Bitbucket] Notifying commit build result[Bitbucket] Build result notifiedjava.io.IOException: Failed to load pe{noformat}2){noformat}19:31:54 Waiting for builds [718]{noformat} so now we're totally stuck Update: I see this registered as https://issues.jenkins-ci.org/browse/JENKINS-28183  
 

  
 
 
 
 

 
 
 

 
 
 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-34517) Pipeline is unable to locate global libraries when build attempts to continue on restart

2016-06-23 Thread davidkarl...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 davidkarlsen commented on  JENKINS-34517  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline is unable to locate global libraries when build attempts to continue on restart   
 

  
 
 
 
 

 
 Even worse - the whole job can go into an illegal state. The job broke on startup with this issue 1), but the next is waiting for the previous one to complete 1) 

 
18:57:11 Waiting for builds [717]
Resuming build
[Pipeline] End of Pipeline
[Bitbucket] Notifying commit build result
[Bitbucket] Build result notified
java.io.IOException: Failed to load pe
 

 2) 

 
19:31:54 Waiting for builds [718]
 

 so now we're totally stuck  
 

  
 
 
 
 

 
 
 

 
 
 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.