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

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -