Jenkinsfile
disabled concurrent build
Signed-off-by: Siwara Schmitt <siwara.schmitt@iese.fraunhofer.de>
diff --git a/Jenkinsfile b/Jenkinsfile
index 227a96b..9e1990d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,5 +1,4 @@
pipeline {
-
agent {
kubernetes {
label 'hugo-agent'
@@ -15,20 +14,15 @@
volumeMounts:
- mountPath: /home/jenkins/.ssh
name: volume-known-hosts
- - mountPath: "/home/jenkins"
- name: "jenkins-home"
- readOnly: false
- name: hugo
image: eclipsecbi/hugo:0.42.1
command:
- cat
tty: true
volumes:
- - name: volume-known-hosts
- configMap:
+ - configMap:
name: known-hosts
- - name: "jenkins-home"
- emptyDir: {}
+ name: volume-known-hosts
"""
}
}
@@ -45,6 +39,7 @@
options {
buildDiscarder(logRotator(numToKeepStr: '5'))
checkoutToSubdirectory('hugo')
+ disableConcurrentBuilds()
}
stages {