testing Jenkinsfile

This commit is contained in:
Ulrich Mohr 2022-09-13 14:46:12 +02:00
parent 9bd600c488
commit 8e835be55f
1 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,10 @@ pipeline {
DOCDDIR = 'cmake-build-documentation'
}
agent {
docker { image 'fsfw-ci:d5'}
docker {
image 'fsfw-ci:d5'
args '--network host'
}
}
stages {
stage('Clean') {
@ -41,6 +44,7 @@ pipeline {
}
}
stage('Documentation') {
agent any
when {
branch 'mohr/documentation_ci'
}
@ -50,7 +54,7 @@ pipeline {
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'
sh 'scp -r ./* buildfix@documentation.intra.irs.uni-stuttgart.de:/mnt/data/www/html/fsfw/development'
}
}
}