Skip to content

jenkins-zh/jenkins-formulas

Repository files navigation

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 Image
Configuration as Code jenkinszh/jenkins-zh Docker Pulls
Configuration as Code + Pipeline jenkinszh/jenkins-pipeline Docker Pulls
CASC + Pipeline + K8s jenkinszh/jenkins-k8s:2.375.3 Docker Pulls
BlueOcean + Multi-branch Pipeline jenkinszh/blueocean-zh:2.375.3 Docker Pulls
Multi-branch Pipeline(GitHub、GitLab、Bitbucket) jenkinszh/jenkins-multi-pipeline-zh:2.375.3 Docker Pulls
Role-based Authorization Strategy jenkinszh/jenkins-zh-role:2.375.3 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.375.3 \
    --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

We greatly appreciate any and all contributions.