diff --git a/Jenkinsfile.internal b/Jenkinsfile.internal index de0bdeea..6589c1b0 100644 --- a/Jenkinsfile.internal +++ b/Jenkinsfile.internal @@ -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}")] }