Sign inSign up

gomex/docker-jenkins

By gomex

Updated almost 11 years ago

Jenkins prepared to build Java Project

Image
0

426

gomex/docker-jenkins repository overview

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 "" 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

Tag summary

Content type

Image

Digest

sha256:ba7b8bf30

Size

327 MB

Last updated

almost 11 years ago

docker pull gomex/docker-jenkins