Copy docs to webroot
esbo_ds/ESBO-ETC/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Lukas Klass 2020-08-17 16:55:01 +02:00
parent 7b815c2305
commit 173230d402
1 changed files with 13 additions and 0 deletions

13
Jenkinsfile vendored
View File

@ -64,6 +64,19 @@ pipeline {
}
}
stage('Deploy Docs') {
agent {
label 'esbods'
}
steps {
// unstash build results from previous stage
unstash 'html'
// remove old files
sh 'rm -rf /var/www/html/esboetcdocs/*'
// copy new files
sh 'cp -rf docs/build/html /var/www/html/esboetcdocs/'
}
}
stage('Deploy Docs Lunjaserv') {
agent {
label 'lunjaserv'
}