This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch feature/SLING-7245
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git

commit 42e0e029e87d8c336f181a6cdc0330ad5648f013
Author: Robert Munteanu <[email protected]>
AuthorDate: Tue Dec 18 00:06:06 2018 +0100

    SLING-7245 - Validate pull requests using Jenkins
    
    Fix syntax of withMaven invocation
---
 vars/slingOsgiBundleBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 55daa97..32acdd8 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -48,7 +48,7 @@ def call(Map params = [:]) {
                     def jenkinsJdkLabel = availableJDKs[jdkVersion]
                     if ( !jenkinsJdkLabel )
                         throw new RuntimeException("Unknown JDK version 
${jdkVersion}")
-                    withMaven(maven: mvnVersion, jdk: jenkinsJdkLabel, 
artifactsPublisher(disabled: true) ) {
+                    withMaven(maven: mvnVersion, jdk: jenkinsJdkLabel, 
options: [artifactsPublisher(disabled: true)] ) {
                     dir(moduleDir) {
                             sh "mvn clean ${goal} 
${jobConfig.additionalMavenParams}"
                         }

Reply via email to