Compare commits

...

9 Commits

2 changed files with 12 additions and 5 deletions

@ -7,7 +7,10 @@ RUN apt-get --yes upgrade
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get --yes install gcc g++ cmake make lcov git valgrind nano iputils-ping python3 pip doxygen graphviz rsync RUN apt-get --yes install gcc g++ cmake make lcov git valgrind nano iputils-ping python3 pip doxygen graphviz rsync
RUN python3 -m pip install sphinx breathe # This should also install Sphinx
COPY docs/requirements.txt .
RUN python3 -m pip install -r requirements.txt
RUN python3 -m pip install breathe
RUN git clone https://github.com/catchorg/Catch2.git && \ RUN git clone https://github.com/catchorg/Catch2.git && \
cd Catch2 && \ cd Catch2 && \

@ -87,10 +87,12 @@ pipeline {
} }
stage('Documentation') { stage('Documentation') {
when { when {
branch 'development' anyOf {
branch 'development';
branch pattern: 'development-doc-deployment*'
}
} }
steps { steps {
sh 'pip install -r docs/requirements.txt'
dir(DOCDDIR) { dir(DOCDDIR) {
sh 'cmake -DFSFW_BUILD_DOCS=ON -DFSFW_OSAL=host ..' sh 'cmake -DFSFW_BUILD_DOCS=ON -DFSFW_OSAL=host ..'
sh 'make Sphinx' sh 'make Sphinx'
@ -107,10 +109,12 @@ pipeline {
} }
stage('Master Documentation') { stage('Master Documentation') {
when { when {
branch 'master' anyOf {
branch 'master';
branch pattern: 'master-doc-deployment*'
}
} }
steps { steps {
sh 'pip install -r docs/requirements.txt'
dir(DOCDDIR) { dir(DOCDDIR) {
sh 'cmake -DFSFW_BUILD_DOCS=ON -DFSFW_OSAL=host ..' sh 'cmake -DFSFW_BUILD_DOCS=ON -DFSFW_OSAL=host ..'
sh 'make Sphinx' sh 'make Sphinx'