You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
328 B
20 lines
328 B
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Cloning git sumbodules') {
|
|
steps {
|
|
sh 'git submodule update --init --recursive'
|
|
}
|
|
}
|
|
|
|
stage('Generate page with Hugo') {
|
|
steps {
|
|
sh 'hugo --verbose --cacheDir=${WORKSPACE}/hugo_cache'
|
|
archiveArtifacts artifacts: 'public/**/*.*', fingerprint: true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|