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

rlenferink pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-events-site.git

commit b2e068e54b7e5bab3a159f1cfd39d65469bb834a
Author: Roy Lenferink <[email protected]>
AuthorDate: Thu May 25 22:01:54 2023 +0200

    Use explicit cacheDir for Hugo build
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 9140a90..138aaf2 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"
                 }

Reply via email to