fix(jenkins): Make container working dir configurable
This commit is contained in:
parent
bd004fd074
commit
2a0a9015df
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue