From f5fe61236c468a2901f134bcdf0f7854e45e5f58 Mon Sep 17 00:00:00 2001 From: denes Date: Wed, 3 Jul 2019 17:47:54 +0200 Subject: [PATCH] Jenkinsfile: trouble with the cache dir + hugo Error: failed to create file caches from configuration: mkdir /tmp/hugo_cache/.matetelki.eu_properhorse_master: permission denied --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b3ec461..9362372 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { stages { stage('Generate page with Hugo') { steps { - sh 'hugo' + sh 'hugo --verbose --cacheDir=./hugo_cache' archiveArtifacts artifacts: 'public/**/*.*', fingerprint: true } }