Skip to content

Commit

Permalink
Add when condition for system tests (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikRehmTT committed Sep 4, 2023
1 parent 04756e6 commit dd80a40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile.internal
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ pipeline {
failFast false
parallel {
stage('System Tests') {
// The needed artifact is only built for main and pull requests -> skip this job otherwise
when { branch pattern: "PR-\\d+|main", comparator: "REGEXP"}
steps {
build job: '../systemTests', parameters: [string(name: 'artifactName', value: "${JOB_BASE_NAME}"), string(name: 'commitHash', value: "${GIT_COMMIT}")]
}
Expand Down

0 comments on commit dd80a40

Please sign in to comment.