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 }}
<alwaysPullImage>false</alwaysPullImage>
{{- end }}
<workingDir>/home/jenkins</workingDir>
<workingDir>{{ .WorkingDir | default "" }}</workingDir>
<command>{{ .Command | default "" }}</command>
<args>{{ .Args | default "" }}</args>
{{- if .TTY }}

View File

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