Skip to content
中文社区定制版 Jenkins
Go Groovy Shell Makefile Dockerfile
Branch: master
Clone or download

Latest commit

Latest commit a8d565d Apr 1, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Remove docker image sync action Mar 29, 2020
formulas Merge pull request #28 from donhui/pipeline-add-maven Apr 1, 2020
pkg Enable to clean the temp Mar 29, 2020
.gitignore Add feature of update this project automatically (#8) Mar 12, 2020
Dockerfile Use a better way to set update center url Nov 28, 2019
Dockerfile-jdk11 Add jenkins docker lts-jdk1 Feb 27, 2020
LICENSE Create LICENSE Feb 24, 2020
Makefile Add feature of update this project automatically (#8) Mar 12, 2020
README-zh.md Add a BlueOcean formula (#31) Mar 31, 2020
README.md Add a BlueOcean formula (#31) Mar 31, 2020
build-jenkins-by-cwp.sh Add feature of update this project automatically (#8) Mar 12, 2020
casc-k8s.yaml Add a guide about how to install Jenkins by helm (#25) Mar 29, 2020
casc.yaml add maven tool to pipeline Mar 28, 2020
config.yaml Add a BlueOcean formula (#31) Mar 31, 2020
cwp-init.groovy Add casc for the update-center config Feb 22, 2020
go.mod Add feature of update this project automatically (#8) Mar 12, 2020
go.sum Add feature of update this project automatically (#8) Mar 12, 2020
hudson.model.UpdateCenter.xml Use a better way to set update center url Nov 28, 2019
init.groovy Use a better way to set update center url Nov 28, 2019
jenkins-zh.yaml Add feature of update this project automatically (#8) Mar 12, 2020
main.go Add feature of update this project automatically (#8) Mar 12, 2020
mirror-adapter.crt Test pass with certificate Nov 27, 2019
update-config.sh Add feature of update this project automatically (#8) Mar 12, 2020

README.md

Jenkins Customize

Two forms of the distribution that you can find from here: docker image and jenkins.war file. All distributions include the following features:

Image

Docker Stars Docker Pulls

An example of running it:

docker run --rm -p 8080:8080 jenkinszh/jenkins-zh:lts

You can mount the volume by the following command:

docker run -u root -v /var/jenkins/data:/var/jenkins_home -p 8080:8080 jenkinszh/jenkins-zh:lts

Find all tags by click here

war

下载

Find all jenkins.war files by click here.

Formula

Below are some out-of-the-box solutions which I call them formulas

Formula File Name Image
Configuration as Code jenkins-zh.war jenkinszh/jenkins-zh Docker Pulls
Configuration as Code + Pipeline jenkins-pipeline.war jenkinszh/jenkins-pipeline Docker Pulls
CASC + Pipeline + K8s jenkins-k8s.war jenkinszh/jenkins-k8s:2.204.5 Docker Pulls
BlueOcean + Multi-branch Pipeline blueocean-zh.war jenkinszh/blueocean-zh:2.204.5 Docker Pulls
Multi-branch Pipeline(GitHub、GitLab、Bitbucket) jenkins-multi-pipeline-zh.war jenkinszh/jenkins-multi-pipeline-zh:2.204.5 Docker Pulls

Want to contribute a formula? Please learn how to create it from here.

Kubernetes

We suggest to use Helm Charts in Kubernetes, below are the example command of install Jenkins in a single-node cluster:

helm repo add stable https://kubernetes-charts.storage.googleapis.com
helm install jenkins stable/jenkins \
    --set master.image=jenkinszh/jenkins-k8s \
    --set master.tag=2.204.5 \
    --set master.imagePullPolicy=IfNotPresent \
    --set persistence.enabled=false \
    --set master.serviceType=NodePort

You can get more details about how to configure Jenkins chart.

References

Jenkins Official Docker Hub

Feedback

Any kind of contributions are very appreciate.

You can’t perform that action at this time.