next test

This commit is contained in:
2023-10-25 11:10:49 +02:00
parent a3b102c0d0
commit cc97c7f82d
2 changed files with 13 additions and 7 deletions

View File

@ -7,7 +7,9 @@ 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
RUN python3 -m pip install -r docs/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 && \

View File

@ -86,10 +86,12 @@ pipeline {
} }
} }
stage('Documentation') { stage('Documentation') {
when {
anyOf { anyOf {
branch 'development'; branch 'development';
branch pattern: 'development-doc*' branch pattern: 'development-doc*'
} }
}
steps { steps {
sh 'pip install -r docs/requirements.txt' sh 'pip install -r docs/requirements.txt'
dir(DOCDDIR) { dir(DOCDDIR) {
@ -107,10 +109,12 @@ pipeline {
} }
} }
stage('Master Documentation') { stage('Master Documentation') {
when {
anyOf { anyOf {
branch 'master'; branch 'master';
branch pattern: 'master-doc*' branch pattern: 'master-doc*'
} }
}
steps { steps {
sh 'pip install -r docs/requirements.txt' sh 'pip install -r docs/requirements.txt'
dir(DOCDDIR) { dir(DOCDDIR) {