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