You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2025/03/15 15:55:01 UTC
(maven-site) branch local-site-cache created (now abeace38)
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a change to branch local-site-cache
in repository https://gitbox.apache.org/repos/asf/maven-site.git
at abeace38 Use jenkins workspace as site cache
This branch includes the following new commits:
new abeace38 Use jenkins workspace as site cache
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-site) 01/01: Use jenkins workspace as site cache
Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch local-site-cache
in repository https://gitbox.apache.org/repos/asf/maven-site.git
commit abeace388d84e03670517691784a364c909bf593
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sat Mar 15 16:54:40 2025 +0100
Use jenkins workspace as site cache
---
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 50ab3514..2eac6e33 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,7 +38,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 -Dmaven.repo.local=.repository"
+ sh "mvn -U -ntp clean site -Dmaven.repo.local=.repository -Dmaven.site.cache=.repository/site-cache"
}
}
}
@@ -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=.repository/site-cache"
}
}
}