(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: 'myimage'
> 
>         registry: 'localhost:5000'
> 
>     }
> }


As far as I am aware, there is no supported "registry" value inside that
`docker` block.


See also https://jenkins.io/doc/book/pipeline/syntax/#agent



- R. Tyler Croy

------------------------------------------------------
     Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
     xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/20170210093934.GC26439%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Reply via email to