Hi,
To enable String interpolation, you need to use double quotes instead of
simple quotes, otherwise variables are not resolved.
Cheers
2017-10-06 7:53 GMT+02:00 Eric Tan :
> Hi
>
> Is there a way to use parameters in the agent docker section like:
>
> pipeline {
>
> parameters {
>
>
Hi
Is there a way to use parameters in the agent docker section like:
pipeline {
parameters {
string(name: 'OS_PORT', defaultValue: '')
string(name: 'CONTAINER_PORT', defaultValue: '')
}
agent {
docker {
image 'someimage'