You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2021/11/22 17:47:13 UTC

[jspwiki-site] branch jbake updated: fix japicmp invocation

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

juanpablo pushed a commit to branch jbake
in repository https://gitbox.apache.org/repos/asf/jspwiki-site.git


The following commit(s) were added to refs/heads/jbake by this push:
     new 3b72329  fix japicmp invocation
3b72329 is described below

commit 3b723292ed02cea37645f2f737e9f0b4f295a1cd
Author: Juan Pablo Santos Rodríguez <ju...@gmail.com>
AuthorDate: Mon Nov 22 18:46:22 2021 +0100

    fix japicmp invocation
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index a472d1d..2e7841b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -66,10 +66,10 @@ try {
             echo "Will use Java $JAVA_JDK_8"
             echo "Will use Maven $MAVEN_3_LATEST"
             withEnv( [ "Path+JDK=$JAVA_JDK_8/bin", "Path+MAVEN=$MAVEN_3_LATEST/bin", "JAVA_HOME=$JAVA_JDK_8" ] ) {
-                def jbakeVersion = version != 'master' ? " -Dplugin.japicmp.jspwiki-new=$version" : pom.version
+                def jbakeVersion = version != 'master' ? version : pom.version
                 dir( jbake ) {
                     git branch: jbake, url: repo, credentialsId: creds, poll: true
-                    sh 'mvn clean process-resources $jbakeVersion'
+                    sh "mvn clean process-resources -Dplugin.japicmp.jspwiki-new=$jbakeVersion"
                 }
                 stash name: 'jbake-website'
             }