Added custom port option (#187)

This commit is contained in:
Marc Argent 2016-06-16 18:21:47 +01:00 committed by Bill Maxwell
parent 8be8a04fe5
commit a22d78a4e4
2 changed files with 27 additions and 21 deletions

View File

@ -1,7 +1,7 @@
jenkins-primary:
image: "jenkins:1.642.2"
ports:
- "8080:8080"
- "${PORT}:8080"
labels:
io.rancher.sidekicks: jenkins-plugins,jenkins-datavolume
io.rancher.container.hostname_override: container_name

View File

@ -4,26 +4,32 @@
description: |
Jenkins CI management server.
questions:
- variable: "plugins"
type: "multiline"
label: "List of Plugins"
description: |
List of plugins in the format <plugin_name>[:<version>]
one entry per line.
default: |
credentials
greenballs
git
junit
git-client
github-api
github-oauth
github
plain-credentials
scm-api
ssh-credentials
ssh-slaves
swarm
- variable: "PORT"
type: "int"
label: "Port Number"
description: "Which port should Jenkins listen on?"
default: 8080
required: true
- variable: "plugins"
type: "multiline"
label: "List of Plugins"
description: |
List of plugins in the format <plugin_name>[:<version>]
one entry per line.
default: |
credentials
greenballs
git
junit
git-client
github-api
github-oauth
github
plain-credentials
scm-api
ssh-credentials
ssh-slaves
swarm
jenkins-primary:
metadata:
plugins: |