You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2017/11/30 12:13:59 UTC
[maven-jenkins-lib] 02/02: Better report collection optimization
This is an automated email from the ASF dual-hosted git repository.
stephenc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git
commit a9ca17c5328ce56075c63686842e49d9843afff3
Author: Stephen Connolly <st...@gmail.com>
AuthorDate: Thu Nov 30 12:13:50 2017 +0000
Better report collection optimization
---
vars/asfMavenTlpStdBuild.groovy | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index bb61864..159a378 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -56,13 +56,20 @@ def call(Map params = [:]) {
}
}
stage("Build ${stageId}") {
- withMaven(jdk:jdkName, maven:mvnName, mavenLocalRepo:'.repository', options: [artifactsPublisher(disabled: !first),
- findbugsPublisher(disabled: !first), openTasksPublisher(disabled: !first)]) {
+ dev withMavenOptions = [
+ artifactsPublisher(disabled: !first),
+ junitPublisher,
+ findbugsPublisher(disabled: !first),
+ openTasksPublisher(disabled: !first),
+ dependenciesFingerprintPublisher,
+ invokerPublisher
+ ]
+ withMaven(jdk:jdkName, maven:mvnName, mavenLocalRepo:'.repository', options: withMavenOptions) {
dir ('m') {
if (isUnix()) {
- sh "mvn clean verify -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false -Dfindbugs.skip=${!first}"
+ sh "mvn clean verify -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false -Dfindbugs.skip=${!first} -P+run-its"
} else {
- bat "mvn clean verify -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false -Dfindbugs.skip=${!first}"
+ bat "mvn clean verify -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false -Dfindbugs.skip=${!first} -P+run-its"
}
}
}
--
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.