Quantcast

Cannot run groovy scriot from Dynamic Choice Parameter plugin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Cannot run groovy scriot from Dynamic Choice Parameter plugin

sample
Hi,

I am using jenkins dynamic parameter plugin to generate the drop down choices in jenkin job. If i copy the script code inline, I get lot of noclassdeffound error. I want to see if I can invoke the script instread of inline code. In jenkins scriptler plugin,  there is a statement "
Groovy scripts for a parameter value can be defined by using the Jenkins Scriptler plugin or in the 
parameter configuration inline" . Can some one tell me how to use scriptler plugin to inject the groovy script for dynamic choices?? I dud not find any examples showing how to do this. There is
not enough documentation around it.
Loading...