Updated matrix in Jenkinsfile

This commit is contained in:
2021-02-19 03:06:13 +01:00
parent 9f00f5e1cf
commit e3a690a828

12
Jenkinsfile vendored
View File

@@ -3,6 +3,8 @@ pipeline {
options { options {
buildDiscarder(logRotator(numToKeepStr: '2', artifactNumToKeepStr: '1')) buildDiscarder(logRotator(numToKeepStr: '2', artifactNumToKeepStr: '1'))
} }
stages {
stage("Parallel Hello") {
matrix { matrix {
axes { axes {
axis { axis {
@@ -26,6 +28,7 @@ pipeline {
} }
} }
} }
// all the stages here will run in parallel
stages { stages {
stage('Prepare') { stage('Prepare') {
steps { steps {
@@ -51,16 +54,7 @@ pipeline {
} }
} }
} }
post {
success {
echo 'Build successful'
}
failure {
echo 'Build Failed'
// Send To static addres
//emailext attachLog: true,body: '$DEFAULT_CONTENT', subject: '$DEFAULT_SUBJECT', to: 'bram@bprieshof.nl'
} }
} }
} }
} }