Thank you.

On Wednesday, February 17, 2016 at 9:08:24 AM UTC-5, Rinaldo DiGiorgio 
wrote:
>
> Hi,
>
>  I want to extract all the scm actions from the build. I use the following 
> groovy code
>
> build.allActions.each { item ->
> actions = item
>   println "ACTIONS: ${actions.class}"
>         if ( actions instanceof 
> org.jenkinsci.plugins.workflow.steps.scm.MultiSCMRevisionState) {
>
> ..
>
> The above produces 
>
> java.lang.IllegalAccessError: tried to access class 
> org.jenkinsci.plugins.workflow.steps.scm.MultiSCMRevisionState from class 
> Script1$_run_closure1
>
>
> if I replace with hudson.model.ParametersAction I do not get an exception.
>
>
> Rinaldo
>
>

-- 
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/1fd51c61-2884-4901-9ccc-8268329142de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to