Public | Automated Build

Last pushed: 2 years ago
Short Description
Jenkins prepared to build Java Project
Full Description

Create the container

# docker run --name jenkins-java -p 49001:8080 -v $PWD:/var/lib/jenkins

Before use, modify this files inside you $PWD folder:

Configure Active Directory authentication

  1. Open config.xml and change the values of "<securityRealm" section

Configure private ssh key to access private git

  1. Generate your private key and put "id_rsa" and "id_rsa.pub"
  2. Put the content of "id_rsa" on "<privateKey>" section of credentials.xml file
  3. Put the content of "id_rsa.pub" in your git server to access the chosen repositories

After change restart your container

# docker stop jenkins-java
# docker start jenkins-java
Docker Pull Command
Owner
gomex
Source Repository