diff --git a/molgenis-jenkins/templates/config.tpl b/molgenis-jenkins/templates/config.tpl
index c9df274..cc10115 100644
--- a/molgenis-jenkins/templates/config.tpl
+++ b/molgenis-jenkins/templates/config.tpl
@@ -143,7 +143,7 @@ data:
{{- else }}
false
{{- end }}
- /home/jenkins
+ {{ .WorkingDir | default "" }}
{{ .Command | default "" }}
{{ .Args | default "" }}
{{- if .TTY }}
diff --git a/molgenis-jenkins/values.yaml b/molgenis-jenkins/values.yaml
index 9149598..0f87ccc 100644
--- a/molgenis-jenkins/values.yaml
+++ b/molgenis-jenkins/values.yaml
@@ -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