Re: Interpolating variables in agent's docker parameter

2017-05-17 Thread Bartłomiej Sacharski
> > (replies inline) > > On Wed, 17 May 2017, Bart??omiej Sacharski wrote: > > > Hello. > > > > I'm trying to mount specific directory to a stage-only agent that will > use > > docker in a declarative pipeline. > > It looks like this: > > > > > agent { > > > docker { > > > image

Re: Interpolating variables in agent's docker parameter

2017-05-17 Thread R. Tyler Croy
(replies inline) On Wed, 17 May 2017, Bart??omiej Sacharski wrote: > Hello. > > I'm trying to mount specific directory to a stage-only agent that will use > docker in a declarative pipeline. > It looks like this: > > > agent { > > docker { > > image "myimage:latest" > > args "-v

Interpolating variables in agent's docker parameter

2017-05-17 Thread Bartłomiej Sacharski
Hello. I'm trying to mount specific directory to a stage-only agent that will use docker in a declarative pipeline. It looks like this: > agent { > docker { > image "myimage:latest" > args "-v ${WORKSPACE}/out:/var/www/api/out" > } > } > However, this results in *No such property: