Jenkins Slave image with JDK8, Maven and M2 Settings to connect to nexus
1.1K
This project contains a Jenkins Slave Docker image that has all the build tools needed for creating Java applications built using Maven and Git as source code repository. It also contains a settings.xml file prepared for deploying and retrieving artifacts to/from Nexus.
Tested using the Jenkins Kubernetes Plugin.
You can download the docker image from Docker Hub using the following command:
docker pull sergief/java-jenkins-slave:latest
The following environment variables need to be set in order to properly use Nexus:
http://nexus.test:8081/repository/maven-publicYou can build your custom image and override the following ENV variables from the dockerfile:
Content type
Image
Digest
Size
430.7 MB
Last updated
about 7 years ago
docker pull sergief/java-jenkins-slave