Repository: maven-surefire Updated Branches: refs/heads/master 7866b0ffb -> 728b4ab42
Let's do a real build Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/728b4ab4 Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/728b4ab4 Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/728b4ab4 Branch: refs/heads/master Commit: 728b4ab426c1b8aaa8e2271efab19d73feea9a95 Parents: 7866b0f Author: Stephen Connolly <stephen.alan.conno...@gmail.com> Authored: Sun Mar 12 21:37:52 2017 +0000 Committer: Stephen Connolly <stephen.alan.conno...@gmail.com> Committed: Sun Mar 12 21:37:52 2017 +0000 ---------------------------------------------------------------------- Jenkinsfile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/728b4ab4/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index c7006ae..7a73b6b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,12 @@ pipeline { jdk 'JDK 1.8.0_102' } steps { - sh 'mvn -v' + sh 'clean install jacoco:report -B -U -e -fae -V -Prun-its,embedded,jenkins -Dsurefire.useFile=false -Dfailsafe.useFile=false -Dintegration-test-port=8084' + } + post { + success { + junit '**/target/surefire-reports/**/*.xml' + } } } stage('Windows Build') { @@ -21,7 +26,12 @@ pipeline { jdk 'JDK 1.8_121 (Windows Only)' } steps { - bat 'mvn -v' + bat 'clean install jacoco:report -B -U -e -fae -V -Prun-its,embedded,jenkins -Dsurefire.useFile=false -Dfailsafe.useFile=false -Dintegration-test-port=8084' + } + post { + success { + junit '**/target/surefire-reports/**/*.xml' + } } } }