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

pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git

commit 518259d1a0cc266f4dd1700d65717ef35ce97f4a
Author: P. Ottlinger <[email protected]>
AuthorDate: Tue Jan 9 00:21:23 2024 +0100

    RAT-342: Enable maven wrapper on ASF Jenkins
---
 Jenkinsfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0c6b982d..dc08c1ce 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -78,14 +78,14 @@ pipeline {
         stage('Build Parent-pom') {
             steps {
                 echo 'Building parent pom only'
-                sh 'mvn clean install -N -e -B'
+                sh './mvnw clean install -N -e -B'
             }
         }
 
         stage('Print available updates') {
             steps {
                 echo 'Show available plugin and dependency updates'
-                sh 'mvn clean versions:display-dependency-updates 
versions:display-plugin-updates enforcer:display-info -U -B'
+                sh './mvnw clean versions:display-dependency-updates 
versions:display-plugin-updates -U -B'
             }
         }
 
@@ -93,7 +93,7 @@ pipeline {
             steps {
                 echo 'Building the whole project'
                 // clean package -B -U -e -fae -V for making sure it just 
builds
-                sh 'mvn -B -U -V clean deploy'
+                sh './mvnw -B -U -V clean deploy'
             }
             post {
                 always {
@@ -106,7 +106,7 @@ pipeline {
         stage('Ensure site build works') {
             steps {
                 echo 'Verify site build is okay ....'
-                sh 'mvn site:site'
+                sh './mvnw site:site'
             }
         }
     }

Reply via email to