Re: Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareLessThan java.lang.Object java.lang.Object

2015-06-16 Thread Jesse Glick
On Tuesday, May 12, 2015 at 9:59:38 PM UTC-4, Rinaldo DiGiorgio wrote:

 Scripts not permitted to use staticMethod 
 org.codehaus.groovy.runtime.ScriptBytecodeAdapter 
 compareLessThan java.lang.Object java.lang.Object

 The In Process Script approval plugin shows no scripts to approve.


It would be a signature, not a script. Not shown in your screenshot but it 
should appear there if the method was indeed rejected.
 

 I have some groovy code that is checked in on a remote server that I 
 access with security.  Why do I need to get permission to run it.


Because there is no guarantee from Jenkins’ standpoint that the permissions 
on your SCM server are stricter than Jenkins’ own permissions, or indeed 
related at all. See JENKINS-28178 
https://issues.jenkins-ci.org/browse/JENKINS-28178.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/cd47e2d2-30c6-453d-a619-368cfb3d2b75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareLessThan java.lang.Object java.lang.Object

2015-05-12 Thread Rinaldo DiGiorgio


On Friday, April 24, 2015 at 1:29:19 AM UTC-4, Baptiste Mathus wrote:

 In the job, did you check run in sandbox ?

 2015-04-15 23:07 GMT+02:00 Rinaldo DiGiorgio digital...@gmail.com 
 javascript::

 Hi,

   I have configured workflow to use an anonymous git repository for the 
 workflow script. I get the following error.

 Scripts not permitted to use staticMethod 
 org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareLessThan 
 java.lang.Object java.lang.Object



 The In Process Script approval plugin shows no scripts to approve. 
 Suggestions. Does workflow actually work with an SCM for the groovy script?




  -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-use...@googlegroups.com javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/a04ae4c5-88e0-434b-92f6-7b34dbc9d065%40googlegroups.com
  
 https://groups.google.com/d/msgid/jenkinsci-users/a04ae4c5-88e0-434b-92f6-7b34dbc9d065%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.



 Sorry but this makes no sense. I have some groovy code that is checked in 
on a remote server that I access with security.  Why do I need to get 
permission to run it. I am running jenkins in a secure environment.  I 
don't want to turn in a sandbox.  Any help on how one needs to think about 
this to understand it would be appreciated because it is not logical. 


 -- 
 Baptiste Batmat MATHUS - http://batmat.net
 Sauvez un arbre,
 Mangez un castor !
  

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/34a8cd62-7f98-4797-968c-2994722606b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareLessThan java.lang.Object java.lang.Object

2015-04-23 Thread Baptiste Mathus
In the job, did you check run in sandbox ?

2015-04-15 23:07 GMT+02:00 Rinaldo DiGiorgio digitalrina...@gmail.com:

 Hi,

   I have configured workflow to use an anonymous git repository for the
 workflow script. I get the following error.

 Scripts not permitted to use staticMethod 
 org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareLessThan 
 java.lang.Object java.lang.Object



 The In Process Script approval plugin shows no scripts to approve.
 Suggestions. Does workflow actually work with an SCM for the groovy script?




  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/a04ae4c5-88e0-434b-92f6-7b34dbc9d065%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/a04ae4c5-88e0-434b-92f6-7b34dbc9d065%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4Ox098Zrr%2BNa-LDazrS61p-%2BqY4V5ibTrUg_tymoFRwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareLessThan java.lang.Object java.lang.Object

2015-04-15 Thread Rinaldo DiGiorgio
Hi,

  I have configured workflow to use an anonymous git repository for the 
workflow script. I get the following error.

Scripts not permitted to use staticMethod 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareLessThan 
java.lang.Object java.lang.Object



The In Process Script approval plugin shows no scripts to approve. 
Suggestions. Does workflow actually work with an SCM for the groovy script?




-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a04ae4c5-88e0-434b-92f6-7b34dbc9d065%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.