- From my understanding you would build on slaves with Docker installed there (I guess you have OPS guys for that?). - Then you can create Docker images and/or Docker container as needed. - As an example you could create a container that install Java 8 and Maven 3 building then a Maven project. - Usually you would do a cleanup afterwards ... at least you remove the container (usually with --rm=true done automatically) Keep in mind that every build job whould have an own Docker container since those jobs usually run in parallel. - You should be able to test that build locally ... sth. like following: docker run --rm=true -v $PWD:/docker -it centos:7.2.15 /docker/build-it.sj
...when this is ... what you have been looking for ... On Monday, November 7, 2016 at 5:48:34 PM UTC+1, Natale Vinto wrote: > > Hello, > > I was looking at documentation about running builds on jenkins slave > through Docker and everything looks fine with Docker cloud provider and a > jenkins slave image running docker on the same Jenkins host, but I didn't > understood if it would be possible to run builds on Docker containers as > slaves living on another physical/virtual Jenkins node, and how to get it. > > Is it possible? > > Thanks > > Natale > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3a90d664-1cce-412e-b89c-a6d566ae33c2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
