Re: How can I mount a temporary volume associated with the workspace in a docker container with Declarative Pipeline?

2017-03-29 Thread Miyata Jumpei
I also posted to stackoverflow. http://stackoverflow.com/questions/43106896/jenkins-declarative-pipeline-how-can-i-mount-a-temporary-volume-associated-with On Wednesday, March 29, 2017 at 6:47:07 PM UTC+9, Miyata Jumpei wrote: > > I would like to mount a temporary volume associated with the

How can I mount a temporary volume associated with the workspace in a docker container with Declarative Pipeline?

2017-03-29 Thread Miyata Jumpei
I would like to mount a temporary volume associated with the workspace in a docker container for gradle caching. With Scripted Pipeline, It can be written like the following. - docker.image('my-gradle').inside("-v ${pwd(tmp: