Re: Using params.item in agent docker section ...

2017-10-06 Thread Michael Pailloncy
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 { > >

Using params.item in agent docker section ...

2017-10-05 Thread Eric Tan
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'