1 Star 0 Fork 21

SmileSB101 / docker-zh

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 3.39 KB
一键复制 编辑 原始数据 按行查看 历史
Rick 提交于 2020-03-31 20:08 . Add a BlueOcean formula (#31)

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.

Go
1
https://gitee.com/SmileSB101/docker-zh.git
git@gitee.com:SmileSB101/docker-zh.git
SmileSB101
docker-zh
docker-zh
master

搜索帮助