this might work better

This commit is contained in:
2023-10-25 11:07:49 +02:00
parent e925b8595c
commit a3b102c0d0

View File

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