Added home volume
Signed-off-by: arjantijms <arjan.tijms@gmail.com>
diff --git a/Jenkinsfile b/Jenkinsfile
index d828966..c1cd717 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -134,6 +134,8 @@
metadata:
spec:
volumes:
+ - name: "jenkins-home"
+ emptyDir: {}
- name: settings-xml
secret:
secretName: m2-secret-dir
@@ -167,6 +169,9 @@
tty: true
imagePullPolicy: Always
volumeMounts:
+ - mountPath: "/home/jenkins"
+ name: "jenkins-home"
+ readOnly: false
- name: settings-xml
mountPath: /home/jenkins/.m2/settings.xml
subPath: settings.xml