Jenkinsfile hugo cache dir needs to be absolute
gitea.matetelki.eu/properhorse/master This commit looks good Details

+ hugo --verbose --cacheDir=./hugo_cache
Error: failed to create file caches from configuration:
"hugo_cache/.matetelki.eu_properhorse_master"
must resolve to an absolute directory
master
denes 6 years ago
parent f5fe61236c
commit 9512b850fb

2
Jenkinsfile vendored

@ -4,7 +4,7 @@ pipeline {
stages {
stage('Generate page with Hugo') {
steps {
sh 'hugo --verbose --cacheDir=./hugo_cache'
sh 'hugo --verbose --cacheDir=${WORKSPACE}/hugo_cache'
archiveArtifacts artifacts: 'public/**/*.*', fingerprint: true
}
}

Loading…
Cancel
Save