Update Jenkinsfile

This commit is contained in:
Stijn Bannink 2020-02-25 15:33:36 +01:00 committed by GitHub
parent 50864479c9
commit d4dcac48ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

31
Jenkinsfile vendored
View file

@ -1,11 +1,28 @@
pipeline { pipeline {
agent any agent any
stages { tools {
stage('Build') { maven 'Maven 3.3.9'
steps { jdk 'jdk8'
echo 'Building V10Lift...'
}
} }
stages {
stage ('Initialize') {
steps {
sh '''
echo "PATH = ${PATH}"
echo "M2_HOME = ${M2_HOME}"
'''
}
}
} stage ('Build') {
steps {
sh 'mvn -Dmaven.test.failure.ignore=true install'
}
post {
success {
junit 'target/v10lift2/**/*.xml'
}
}
}
}
} }