You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2023/04/30 14:48:14 UTC
[comdev-site] branch preview/test3 updated: Try using cacheDir
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch preview/test3
in repository https://gitbox.apache.org/repos/asf/comdev-site.git
The following commit(s) were added to refs/heads/preview/test3 by this push:
new 4ca58d0 Try using cacheDir
4ca58d0 is described below
commit 4ca58d0c20dfae2aceb518a648496b5730fb2c8b
Author: Sebb <se...@apache.org>
AuthorDate: Sun Apr 30 15:48:06 2023 +0100
Try using cacheDir
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 22523bc..448a9ee 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -96,7 +96,7 @@ pipeline {
stage('Build') {
steps {
script {
- sh "${HUGO_PATH} --destination ${env.OUT_DIR}"
+ sh "${HUGO_PATH} --destination ${env.OUT_DIR} --cacheDir ${env.HUGO_DIR}"
sh "${PAGEFIND_DIR}/bin/pagefind --source ${env.OUT_DIR}"
sh "rm -f .hugo_build.lock"
}