Skip to content

[DEV] Docker image based on jenkins/jenkins:lts with docker CLI on master node.

License

Notifications You must be signed in to change notification settings

mborne/docker-jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-jenkins

Docker image based on jenkins/jenkins:lts with docker CLI on master node.

Usage

  • Start jenkins : docker-compose up -d

  • Retrieve initial password : docker exec -ti jenkins cat /var/jenkins_home/secrets/initialAdminPassword

  • Open https://jenkins.dev.localhost

Jenkins environment

You may add the following environment variables to write portable Jenkinsfile :

Variable Description Example
DOCKER_REGISTRY Hostname for docker registry registry.${HOST_HOSTNAME}
DOCKER_REGISTRY_URL URL for docker registry https://registry.${HOST_HOSTNAME}
DOCKER_REGISTRY_CREDENTIAL_ID Jenkins credential id to access registry (username/password) nexus_user

Notes

See also

License

MIT

About

[DEV] Docker image based on jenkins/jenkins:lts with docker CLI on master node.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published