Discussion:
Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareLessThan java.lang.Object java.lang.Object
Rinaldo DiGiorgio
2015-04-15 21:07:46 UTC
Permalink
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+***@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.
Baptiste Mathus
2015-04-24 05:28:54 UTC
Permalink
In the job, did you check "run in sandbox" ?
Post by 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
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=email&utm_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+***@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.
Rinaldo DiGiorgio
2015-05-13 01:59:38 UTC
Permalink
Post by Baptiste Mathus
In the job, did you check "run in sandbox" ?
Post by 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
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=email&utm_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.
Post by Baptiste Mathus
--
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+***@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.
Jesse Glick
2015-06-16 19:14:39 UTC
Permalink
Post by Rinaldo DiGiorgio
Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter
Post by Rinaldo DiGiorgio
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.
Post by Rinaldo DiGiorgio
I have some groovy code that is checked in on a remote server that I
Post by Rinaldo DiGiorgio
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+***@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.
Loading...