Copy docs to webroot
Some checks reported errors
esbo_ds/ESBO-ETC/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
esbo_ds/ESBO-ETC/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
7b815c2305
commit
173230d402
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -64,6 +64,19 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploy Docs') {
|
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 {
|
agent {
|
||||||
label 'lunjaserv'
|
label 'lunjaserv'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user