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


The following commit(s) were added to refs/heads/master by this push:
     new 98004fa  syntax ftw
98004fa is described below

commit 98004fafafc994995079201b4009c46390d8cc82
Author: Stephen Connolly <[email protected]>
AuthorDate: Thu Nov 30 12:15:05 2017 +0000

    syntax ftw
---
 vars/asfMavenTlpStdBuild.groovy | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index 159a378..e2151a0 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -56,15 +56,14 @@ def call(Map params = [:]) {
               }
             }
             stage("Build ${stageId}") {
-              dev withMavenOptions = [
+              withMaven(jdk:jdkName, maven:mvnName, 
mavenLocalRepo:'.repository', options: [
                 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} -P+run-its"

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to