Merge pull request #349 from ovidiub13/updateJenkins
Update jenkins to v2.19.4
This commit is contained in:
commit
af47fda0c8
20
templates/jenkins-ci/2/docker-compose.yml
Normal file
20
templates/jenkins-ci/2/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
jenkins-primary:
|
||||
image: "jenkins:2.19.4"
|
||||
ports:
|
||||
- "${PORT}:8080"
|
||||
labels:
|
||||
io.rancher.sidekicks: jenkins-plugins,jenkins-datavolume
|
||||
io.rancher.container.hostname_override: container_name
|
||||
volumes_from:
|
||||
- jenkins-plugins
|
||||
- jenkins-datavolume
|
||||
entrypoint: /usr/share/jenkins/rancher/jenkins.sh
|
||||
jenkins-plugins:
|
||||
image: rancher/jenkins-plugins:v0.1.1
|
||||
jenkins-datavolume:
|
||||
image: "busybox"
|
||||
volumes:
|
||||
- ${volume_work}:/var/jenkins_home
|
||||
labels:
|
||||
io.rancher.container.start_once: true
|
||||
entrypoint: ["chown", "-R", "1000:1000", "/var/jenkins_home"]
|
42
templates/jenkins-ci/2/rancher-compose.yml
Normal file
42
templates/jenkins-ci/2/rancher-compose.yml
Normal file
@ -0,0 +1,42 @@
|
||||
.catalog:
|
||||
name: Jenkins
|
||||
version: 2.19.4-rancher1
|
||||
description: |
|
||||
Jenkins CI management server.
|
||||
questions:
|
||||
- variable: "PORT"
|
||||
type: "int"
|
||||
label: "Port Number"
|
||||
description: "Which port should Jenkins listen on?"
|
||||
default: 8080
|
||||
required: true
|
||||
- variable: "volume_work"
|
||||
description: "Work volume to save jenkins data"
|
||||
label: "Work volume:"
|
||||
required: true
|
||||
default: "/var/lib/docker/jenkins-ci"
|
||||
type: "string"
|
||||
- variable: "plugins"
|
||||
type: "multiline"
|
||||
label: "List of Plugins"
|
||||
description: |
|
||||
List of plugins in the format <plugin_name>[:<version>]
|
||||
one entry per line.
|
||||
default: |
|
||||
credentials
|
||||
git
|
||||
git-client
|
||||
github
|
||||
github-api
|
||||
github-oauth
|
||||
greenballs
|
||||
junit
|
||||
plain-credentials
|
||||
scm-api
|
||||
ssh-credentials
|
||||
ssh-slaves
|
||||
swarm
|
||||
jenkins-primary:
|
||||
metadata:
|
||||
plugins: |
|
||||
${plugins}
|
@ -1,5 +1,5 @@
|
||||
name: Jenkins
|
||||
description: |
|
||||
Jenkins CI server (LTS)
|
||||
version: 1.651.3-rancher1
|
||||
version: 2.19.4-rancher1
|
||||
category: Continuous Integration
|
||||
|
Loading…
x
Reference in New Issue
Block a user