Re: how to setup pipeline {agent} from the private Docker hub repo?

2017-01-30 Thread Natalia Serebryakova
Thank you, this is exactly what i was looking for. Natalie On Friday, January 27, 2017 at 4:17:15 PM UTC-8, Andrew Bayer wrote: > > We recently added registry support to Declarative - register the > credentials needed for the private registry in Jenkins' UI and then you can > do: > > agent {

Re: how to setup pipeline {agent} from the private Docker hub repo?

2017-01-27 Thread Andrew Bayer
We recently added registry support to Declarative - register the credentials needed for the private registry in Jenkins' UI and then you can do: agent { docker { image "image name" registryUrl "https://wherever; registryCredentialsId "credsId" } } On Fri, Jan 27, 2017 at 9:43 AM

Re: how to setup pipeline {agent} from the private Docker hub repo?

2017-01-27 Thread Indra Gunawan (ingunawa)
.com> Date: Friday, January 27, 2017 at 9:43 AM To: Jenkins Users <jenkinsci-users@googlegroups.com> Subject: how to setup pipeline {agent} from the private Docker hub repo? Hi I checked the documentation and GH wiki, but I can’t find a way to specify docker build (agent) from a private

how to setup pipeline {agent} from the private Docker hub repo?

2017-01-27 Thread Natalia Serebryakova
Hi I checked the documentation and GH wiki, but I can’t find a way to specify docker build (agent) from a private Docker hub repo. Meaning if our company has a private account on Docker Hub, how do I add image from that repo to the Jenkisnfile? Pipeline { agent { the label