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-whisker.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b3ab71  Use mvn wrapper
9b3ab71 is described below

commit 9b3ab717856320d7cf7776a49fae7d55bb60fb14
Author: P. Ottlinger <[email protected]>
AuthorDate: Mon Jan 29 21:30:06 2024 +0100

    Use mvn wrapper
---
 .github/workflows/maven.yml | 2 +-
 Jenkinsfile                 | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 56bce2c..4ffad5a 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -58,7 +58,7 @@ jobs:
           cache: 'maven'
 
       - name: Build with Maven
-        run: mvn -e -B -V -ntp clean package site
+        run: ./mvnw -e -B -V -ntp clean package site
 
 # as of 20220505:  Invalid workflow file
 # The workflow is not valid. .github/workflows/maven.yml (Line: 55, Col: 1): 
Unexpected value 'notifications'
diff --git a/Jenkinsfile b/Jenkinsfile
index 7b503e0..0a230fd 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -77,7 +77,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 {
@@ -90,7 +90,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