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 79194dc  move up docsVersion and pom definitions
79194dc is described below

commit 79194dcfccdf53784178456c09036b0d0c753bc8
Author: Juan Pablo Santos Rodríguez <[email protected]>
AuthorDate: Tue Nov 23 17:58:50 2021 +0100

    move up docsVersion and pom definitions
---
 Jenkinsfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index f54a5e0..0b3c20b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -27,13 +27,14 @@ errMsg = ''
 
 try {
 
+    def pom
+    def docsVersion
+
     node( 'ubuntu' ) {
         def JAVA_JDK_8=tool name: 'jdk_1.8_latest', type: 'hudson.model.JDK'
         def JAVA_JDK_11=tool name: 'jdk_11_latest', type: 'hudson.model.JDK'
         def MAVEN_3_LATEST=tool name: 'maven_3_latest', type: 
'hudson.tasks.Maven$MavenInstallation'
         def version = params?.version ?: 'master'
-        def pom
-        def docsVersion
 
         stage( 'clean workspace' ) {
             cleanWs()

Reply via email to