groovy - String parameter as lockable resources label in jenkins -


i trying setup job use of lockable resources. job parameterized , 1 of string parameters parameter 'environment'.

i use parameter groovy expression label lockable resources plugin, i.e.:

groovy:resourcelabels.contains(${environment}) 

but expression not being evaluated.

is there way make evaluate string parameter this?


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -