Thanks for your reply, it's not yet documented but I found issue which
asserted that this feature is implemented.
Christopher's solution works.
W dniu piątek, 10 lutego 2017 10:39:49 UTC+1 użytkownik R Tyler Croy
napisał:
>
> (replies inline)
>
> On Thu, 09 Feb 2017, Bart??omiej Kruczyk wrote:
That worked like a charm. I had found issue
https://issues.jenkins-ci.org/browse/JENKINS-39684, and source file you are
referring but I didn't known what declarative syntax expression it should
be.
Thank you!
W dniu piątek, 10 lutego 2017 13:02:33 UTC+1 użytkownik Christopher Orr
napisał:
>
>
Hi there,
On Thu, 9 Feb 2017, at 13:38, Bartłomiej Kruczyk wrote:
> agent {
> docker {
> image: 'myimage'
> registry: 'localhost:5000'
> }
> }
>
A couple of points:
1. The syntax documentation is wrong at the moment: you should not add a
colon after the
(replies inline)
On Thu, 09 Feb 2017, Bart??omiej Kruczyk wrote:
> Hi, I have problem with setting docker agent type for my pipeline.
>
> Although something like this works:
>
>
> agent {
> docker 'myimage'
>
> }
>
>
> This does not:
>
>
> agent {
> docker {
> image:
Hi, I have problem with setting docker agent type for my pipeline.
Although something like this works:
agent {
docker 'myimage'
}
This does not:
agent {
docker {
image: 'myimage'
registry: 'localhost:5000'
}
}
As I'm getting error: