Merge "Jenkinsfile" into staging
diff --git a/Jenkinsfile b/Jenkinsfile
index 9e1990d..e9d567b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -4,25 +4,21 @@
label 'hugo-agent'
yaml """
apiVersion: v1
-metadata:
- labels:
- run: hugo
- name: hugo-pod
+kind: Pod
spec:
containers:
- - name: jnlp
- volumeMounts:
- - mountPath: /home/jenkins/.ssh
- name: volume-known-hosts
- - name: hugo
- image: eclipsecbi/hugo:0.42.1
- command:
- - cat
- tty: true
+ - name: hugo
+ image: eclipsecbi/hugo:0.42.1
+ tty: true
+ command:
+ - cat
+ volumeMounts:
+ - mountPath: "/home/jenkins"
+ name: "jenkins-home"
+ readOnly: false
volumes:
- - configMap:
- name: known-hosts
- name: volume-known-hosts
+ - name: "jenkins-home"
+ emptyDir: {}
"""
}
}