publish documentation for development and master branch #681

Merged
muellerr merged 16 commits from mohr/documentation_ci into development 2022-09-14 11:22:36 +02:00
1 changed files with 14 additions and 1 deletions
Showing only changes of commit 92e3ab04f3 - Show all commits

View File

@ -1,9 +1,10 @@
pipeline {
environment {
BUILDDIR = 'cmake-build-tests'
DOCDDIR = 'cmake-build-documentation'
}
agent {
docker { image 'fsfw-ci:d3'}
docker { image 'fsfw-ci:d4'}
}
stages {
stage('Clean') {
@ -39,5 +40,17 @@ pipeline {
}
}
}
stage('Documentation') {
steps {
dir(DOCDDIR) {
sh 'cmake -DFSFW_BUILD_DOCS=ON -DFSFW_OSAL=host ..'
sh 'make Sphinx'
sh 'cd docs/sphinx'
sshagent(credentials: ['documentation-buildfix']) {
sh 'scp -r ./* buildfix@documents.intra.irs.uni-stuttgart.de:/mnt/data/www/html/fsfw/development'
}
}
}
}
}
}