Quick correction:


On Fri, 10 Feb 2017, at 12:36, Christopher Orr wrote:

> 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 key
> 2. The key you're looking for is "registryUrl"

> 

> Source:
> https://github.com/jenkinsci/pipeline-model-definition-plugin/blob/3222d5a/pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/agent/AbstractDockerAgent.java#L33-L37
> 

> For example:

> agent {

>   docker {

>     image 'foo'

>     registryUrl 'registry.example.com'

>   }

> }



The 'registryUrl' value needs to be a proper URI, e.g. '
https://registry.hub.docker.com'


-Chris

-- 
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/1486728135.379567.876708264.4E0EF4AE%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to