Browse Source

mvn build with 2 threads

pull/46/head
Olivier Lamy 6 years ago
parent
commit
c709acdaca
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Jenkinsfile

+ 1
- 1
Jenkinsfile View File

{ {
sh "rm -rf .repository" sh "rm -rf .repository"
// Run test phase / ignore test failures // Run test phase / ignore test failures
sh "mvn -B clean deploy -Dmaven.test.failure.ignore=true"
sh "mvn -B clean deploy -Dmaven.test.failure.ignore=true -T2"
} }
// Report failures in the jenkins UI // Report failures in the jenkins UI
//step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) //step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])

Loading…
Cancel
Save