Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
9c7248e78e | |||
ecf51b2913 | |||
8bbde05413 | |||
d79b5348d8 | |||
92e3ab04f3 |
@ -19,4 +19,7 @@ RUN git clone https://github.com/ETLCPP/etl.git && \
|
|||||||
cd etl && \
|
cd etl && \
|
||||||
git checkout 20.28.0 && \
|
git checkout 20.28.0 && \
|
||||||
cmake -B build . && \
|
cmake -B build . && \
|
||||||
cmake --install build/
|
cmake --install build/
|
||||||
|
|
||||||
|
#ssh needs a valid user to work
|
||||||
|
RUN adduser --uid 114 jenkins
|
||||||
|
33
automation/Jenkinsfile
vendored
33
automation/Jenkinsfile
vendored
@ -1,9 +1,10 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
environment {
|
environment {
|
||||||
BUILDDIR = 'cmake-build-tests'
|
BUILDDIR = 'cmake-build-tests'
|
||||||
|
DOCDDIR = 'cmake-build-documentation'
|
||||||
}
|
}
|
||||||
agent {
|
agent {
|
||||||
docker { image 'fsfw-ci:d3'}
|
docker { image 'fsfw-ci:d5'}
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Clean') {
|
stage('Clean') {
|
||||||
@ -39,5 +40,35 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Documentation') {
|
||||||
|
when {
|
||||||
|
branch 'development'
|
||||||
|
}
|
||||||
|
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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Master Documentation') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
|
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/master'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user