Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cn-docker/jenkins-master
Jenkins Master
https://github.com/cn-docker/jenkins-master
docker docker-image jenkins jenkins-ci jenkins-pipeline
Last synced: 4 months ago
JSON representation
Jenkins Master
- Host: GitHub
- URL: https://github.com/cn-docker/jenkins-master
- Owner: cn-docker
- License: apache-2.0
- Created: 2019-01-21T12:44:36.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-09-25T12:07:52.000Z (4 months ago)
- Last Synced: 2024-09-30T18:04:51.499Z (4 months ago)
- Topics: docker, docker-image, jenkins, jenkins-ci, jenkins-pipeline
- Language: Groovy
- Homepage: https://hub.docker.com/r/cnservices/jenkins-master/
- Size: 146 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Jenkins Master Server
[![](https://img.shields.io/docker/pulls/cnservices/jenkins-master.svg)](https://hub.docker.com/r/cnservices/jenkins-master/)
[![](hhttps://img.shields.io/docker/build/cnservices/jenkins-master)](https://hub.docker.com/r/cnservices/jenkins-master/)
[![](https://img.shields.io/docker/automated/cnservices/jenkins-master)](https://hub.docker.com/r/cnservices/jenkins-master/)
[![](https://img.shields.io/docker/stars/cnservices/jenkins-master)](https://hub.docker.com/r/cnservices/jenkins-master/)
[![](https://img.shields.io/github/license/cn-docker/jenkins-master)](https://github.com/cn-docker/jenkins-master)
[![](https://img.shields.io/github/issues/cn-docker/jenkins-master)](https://github.com/cn-docker/jenkins-master)
[![](https://img.shields.io/github/issues-closed/cn-docker/jenkins-master)](https://github.com/cn-docker/jenkins-master)
[![](https://img.shields.io/github/languages/code-size/cn-docker/jenkins-master)](https://github.com/cn-docker/jenkins-master)
[![](https://img.shields.io/github/repo-size/cn-docker/jenkins-master)](https://github.com/cn-docker/jenkins-master)This is the Jenkins master node. There are no executors in this node, so you need to attach one or more slaves to run the jobs.
## Start Master Jenkins ##
Create a folder to store Jenkins data files, so the container can be reseted without losing information.
mkdir ~/jenkins_data
chmod 777 ~/jenkins_data
Run the container
docker run -d --name jenkins --restart=always -p 8080:8080 -p 50000:50000 -v ~/jenkins_data:/var/jenkins_home cnservices/jenkins-master## Adding jobs by default ##
In order to have Jenkins jobs automatically configured when you run the container, follow these steps:
1. Inside the jobs folder (jenkins-master/jobs) add a new folder named with the name of the new job.
2. Inside the folder created in the previous step, add a new file named config.xml. That file should contain all the configuration of new job.## Security
This distribution of Jenkins enables password security with the following credentials:
Username: admin
Password: adminOnly logged in users can manage Jenkins and is disable the anonymous access.
PLEASE CHANGE THIS SECURITY SETTINGS AFTER DEPLOYING YOUR INSTANCE