Merge remote-tracking branch 'origin/master'

This commit is contained in:
stijnb1234 2020-02-25 15:59:02 +01:00
commit 32e1fa96e8

27
Jenkinsfile vendored
View file

@ -1,11 +1,34 @@
pipeline { pipeline {
agent any agent any
tools {
maven 'Maven 3.6.3'
jdk 'jdk8'
}
stages { stages {
stage('Build') { stage ('Initialize') {
steps { steps {
echo 'Building V10Lift...' sh '''
echo "PATH = ${PATH}"
echo "M2_HOME = ${M2_HOME}"
'''
} }
} }
stage ('Build') {
steps {
sh 'mvn -Dmaven.test.failure.ignore=true install'
}
post {
always {
echo 'Archiving coverage results...'
jacoco(execPattern: '**/**.exec', classPattern: '**/classes', sourcePattern: '**/src/main/java')
echo 'Archiving test results...'
junit 'target/surefire-reports/*.xml'
echo 'Archiving artifacts...'
archiveArtifacts artifacts: 'target/*.jar', fingerprint: true
}
}
}
} }
} }