1
0
Fork 0

fix(jenkins): Make container working dir configurable

This commit is contained in:
Fleur Kelpin 2018-07-19 22:35:53 +02:00
parent bd004fd074
commit 2a0a9015df
2 changed files with 4 additions and 1 deletions

View File

@ -143,7 +143,7 @@ data:
{{- else }} {{- else }}
<alwaysPullImage>false</alwaysPullImage> <alwaysPullImage>false</alwaysPullImage>
{{- end }} {{- end }}
<workingDir>/home/jenkins</workingDir> <workingDir>{{ .WorkingDir | default "" }}</workingDir>
<command>{{ .Command | default "" }}</command> <command>{{ .Command | default "" }}</command>
<args>{{ .Args | default "" }}</args> <args>{{ .Args | default "" }}</args>
{{- if .TTY }} {{- if .TTY }}

View File

@ -210,6 +210,7 @@ jenkins:
maven: maven:
Image: "registry.webhosting.rug.nl/molgenis/maven" Image: "registry.webhosting.rug.nl/molgenis/maven"
Command: cat Command: cat
WorkingDir: /home/jenkins
TTY: true TTY: true
resources: resources:
requests: requests:
@ -218,11 +219,13 @@ jenkins:
alpine: alpine:
Image: "spotify/alpine" Image: "spotify/alpine"
Command: cat Command: cat
WorkingDir: /home/jenkins
TTY: true TTY: true
node: node:
Image: "node" Image: "node"
ImageTag: "9.11.2" ImageTag: "9.11.2"
Command: cat Command: cat
WorkingDir: /home/jenkins
TTY: true TTY: true
EnvVars: EnvVars:
- type: Secret - type: Secret