Skip to content

Commit

Permalink
Merge pull request #12377 from jetty/jetty-12.0.x-fix-pr-detection
Browse files Browse the repository at this point in the history
Jetty 12.0.x fix PR detection
  • Loading branch information
olamy authored Oct 11, 2024
2 parents e60b694 + 305935a commit 6c13f35
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,10 @@ def useBuildCache() {
}

def useEclipseDash() {
return pullRequest.labels.contains("eclipse-dash")
if (env.BRANCH_NAME ==~ /PR-\d+/) {
return pullRequest.labels.contains("eclipse-dash")
}
return false
}

def saveHome() {
Expand Down

0 comments on commit 6c13f35

Please sign in to comment.