testing Jenkinsfile

This commit is contained in:
Ulrich Mohr 2022-09-13 13:54:23 +02:00
parent 003a6d00fa
commit 92e3ab04f3
1 changed files with 14 additions and 1 deletions

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'
}
}
}
}
}
}