Browse Source

Try to fix Jenkinsfile issue

develop
LO Kam Tao Leo 3 years ago
parent
commit
2d71ecd71d
  1. 20
      Jenkinsfile

20
Jenkinsfile vendored

@ -7,12 +7,22 @@ pipeline{
}
stages{
stage ('Initialize') {
steps {
sh '''
echo "PATH = ${PATH}"
echo "M2_HOME = ${M2_HOME}"
'''
}
}
stage('Build'){
sh 'mvn -Dmaven.test.failure.ignore=true build'
}
post{
success{
junit 'target/surefire-reports/**/*.xml'
step{
sh 'mvn -Dmaven.test.failure.ignore=true build'
}
post{
success{
junit 'target/surefire-reports/**/*.xml'
}
}
}
}

Loading…
Cancel
Save