Skip to content

Commit 60a4a46

Browse files
committed
Enable JDK 17 testing even on PRs
1 parent 8f73734 commit 60a4a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ stage('Build') {
103103
Map<String, Map<String, String>> state = [:]
104104
environments.each { BuildEnvironment buildEnv ->
105105
// Don't build environments for newer JDKs when this is a PR, unless the PR is labelled with 'jdk' or 'jdk-<version>'
106-
if ( helper.scmSource.pullRequest && buildEnv.testJdkVersion &&
106+
if ( helper.scmSource.pullRequest && buildEnv.testJdkVersion && buildEnv.testJdkVersion.toInteger() > DEFAULT_JDK_VERSION &&
107107
!pullRequest.labels.contains( 'jdk' ) && !pullRequest.labels.contains( "jdk-${buildEnv.testJdkVersion}" ) ) {
108108
return
109109
}

0 commit comments

Comments
 (0)