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

2017-01-30 Thread Natalia Serebryakova
gt; do: > > agent { > docker { > image "image name" > registryUrl "https://wherever"; > registryCredentialsId "credsId" > } > } > > On Fri, Jan 27, 2017 at 9:43 AM Natalia Serebryakova > wrote: > >> >> >

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 'whate