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
Post a Comment