8000 GitHub - ittiel/jenkins: Jenkins LTS with a CI flow template, including DSL and pipeline support (plugins and dependencies)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ jenkins Public

Jenkins LTS with a CI flow template, including DSL and pipeline support (plugins and dependencies)

Notifications You must be signed in to change notification settings

ittiel/jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins on Docker example

This project builds a jenkins master on docker, with a predefined job and plugins

Build docker image:

docker build -t jenkins .

Run docker container:

docker run -d -p 8080:8080 -p 50000:50000 jenkins

Advanced:

Run Jenkins with persistency and host docker :

docker run -d -p 8080:8080 -p 50000:50000 -v <Local folder>:/var/jenkins_home/ -v /var/run/docker.sock:/var/run/docker.sock jenkins

Run Jenkins with JAVA_OPTS

see full list here

Example:
docker run -d -p 8080:8080 -p 50000:50000 --env JAVA_OPTS="-Dhudson.footerURL=http://mycompany.com -Djenkins.install.runSetupWizard=false" jenkins

jenkins authentication

Currently disabled.

  • Default: user: admin pass: admin
  • Recommended: Google login plugin .
    See Google OAuth configuration here .
    Note: Requires setting the URL of jenkins correctly in Jenkins Location > Jenkins URL first .

Persistency and Backup

  • Run docker with shared volumes on the hosts (on AWS use EBS) .
    Example:
    docker run -d -p 8080:8080 -p 50000:50000 -v <Host persistent folder>:/var/jenkins_home/ jenkins - Backup and auditing:
    -- Backup configuration with git
    -- Backup configuration to s3

About

Jenkins LTS with a CI flow template, including DSL and pipeline support (plugins and dependencies)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0