We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f73734 commit 60a4a46Copy full SHA for 60a4a46
Jenkinsfile
@@ -103,7 +103,7 @@ stage('Build') {
103
Map<String, Map<String, String>> state = [:]
104
environments.each { BuildEnvironment buildEnv ->
105
// 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 &&
+ if ( helper.scmSource.pullRequest && buildEnv.testJdkVersion && buildEnv.testJdkVersion.toInteger() > DEFAULT_JDK_VERSION &&
107
!pullRequest.labels.contains( 'jdk' ) && !pullRequest.labels.contains( "jdk-${buildEnv.testJdkVersion}" ) ) {
108
return
109
}
0 commit comments