testing Jenkinsfile

This commit is contained in:
Ulrich Mohr 2022-09-13 13:54:23 +02:00
parent 003a6d00fa
commit 92e3ab04f3

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