Re: How to run jobs on oraclelinux container.

2018-01-18 Thread Jacob Larsen
Yes. Docker plugin isn't able to separate the build environment from the Jenkins slave though. The images used are more traditional slaves with the jenkins slave daemon running inside the same container, which means that the jenkins slave dependencies must be mixed with the build environment.

Re: How to run jobs on oraclelinux container.

2018-01-17 Thread Dirk Heinrichs
Am 17.01.2018 um 20:57 schrieb Jacob Larsen: > 1. Use Docker Slaves Plugin > > 2. Use Cloudbees Docker Custom build environment plugin > > 3. Use the Docker Pipeline plugin, specifically the .inside syntax > 4. Use Docker plugin: Multiple Docker hosts, Container templates must be defined either

Re: How to run jobs on oraclelinux container.

2018-01-17 Thread Jacob Larsen
There are 3 ways I know of that allows you to avoid having the Jenkins slave dependency in the container: 1. Use Docker Slaves Plugin     - Has some limitations, but works for the most part. Supports pipeline at least partially, and can run on dockerized slaves. Will not run directly on

How to run jobs on oraclelinux container.

2018-01-16 Thread Ivan Fernandez Calvo
You can build your own docker image based in this https://github.com/jenkinsci/docker-jnlp-slave but extending this one https://hub.docker.com/_/oraclelinux/ , you only need to be sure that Java is in it -- You received this message because you are subscribed to the Google Groups "Jenkins

How to run jobs on oraclelinux container.

2018-01-16 Thread pbasanta2002
Hi , We have a problem on Jenkins on which container the job will run. By default jenkins job is using jnlp container to run the Jobs. inorder to run the jobs on the oraclelinux image. 1. We Successfully created docker-jnlp-slave image with oraclelinux image. 2. Able to pull docker-jnlp-slave