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

sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 83e7d1ed Use jenkins workspace as site cache
83e7d1ed is described below

commit 83e7d1ed763a49b7422d4dfd4d22b593a8178ac7
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Sat Mar 15 16:54:40 2025 +0100

    Use jenkins workspace as site cache
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 50ab3514..f9ab2868 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -50,7 +50,7 @@
                 withEnv(["JAVA_HOME=${ tool "jdk_17_latest" }",
                          "PATH+MAVEN=${ tool "jdk_17_latest" }/bin:${tool 
"maven_3_latest"}/bin",
                          "MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) 
{                 
-                    sh "mvn -U -ntp clean site-deploy 
-Dmaven.repo.local=.repository"
+                    sh "mvn -U -ntp clean site-deploy 
-Dmaven.repo.local=.repository -Dmaven.site.cache=target/site-cache"
                 }             
             }
         }

Reply via email to