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{ stages{
stage ('Initialize') {
steps {
sh '''
echo "PATH = ${PATH}"
echo "M2_HOME = ${M2_HOME}"
'''
}
}
stage('Build'){ stage('Build'){
sh 'mvn -Dmaven.test.failure.ignore=true build' step{
} sh 'mvn -Dmaven.test.failure.ignore=true build'
post{ }
success{ post{
junit 'target/surefire-reports/**/*.xml' success{
junit 'target/surefire-reports/**/*.xml'
}
} }
} }
} }

Loading…
Cancel
Save