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


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

commit a45661f287f2208b807cbf5dd533ea2913b1fd20
Author: P. Ottlinger <[email protected]>
AuthorDate: Mon Jan 29 21:29:34 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 5ca68c8..e73c4e1 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -54,4 +54,4 @@ 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
diff --git a/Jenkinsfile b/Jenkinsfile
index c60a452..1b34918 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