Jenkins中国定制版Docker镜像,集成中国更新中心镜像、简体中文插件和配置即代码插件,提供本地化优化的CI/CD构建环境。
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:
- With the https://github.com/jenkins-zh/mirror-proxy which serves in China
- https://github.com/jenkinsci/localization-zh-cn-plugin
- https://github.com/jenkinsci/configuration-as-code-plugin/
Image
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 https://github.com/jenkins-zh/docker-zh/packages/***/versions。
war
https://bintray.com/jenkins-zh/generic/jenkins/_latestVersion
Find all jenkins.war files by https://dl.bintray.com/jenkins-zh/generic/jenkins/.
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 |
| Configuration as Code + Pipeline | jenkins-pipeline.war | jenkinszh/jenkins-pipeline |
| CASC + Pipeline + K8s | jenkins-k8s.war | jenkinszh/jenkins-k8s:2.204.5 |
| BlueOcean + Multi-branch Pipeline | blueocean-zh.war | jenkinszh/blueocean-zh:2.204.5 |
| Multi-branch Pipeline(GitHub、GitLab、Bitbucket) | jenkins-multi-pipeline-zh.war | jenkinszh/jenkins-multi-pipeline-zh:2.204.5 |
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:
shellhelm 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 https://github.com/helm/charts/tree/master/stable/jenkins#configuration.
References
https://hub.docker.com/r/jenkins/jenkins/tags
Feedback
Any kind of contributions are very appreciate.
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 jenkins-zh 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务