Skip to content

Commit

Permalink
chore(dependencies) Only builds on JDK11 and JDK17
Browse files Browse the repository at this point in the history
  • Loading branch information
gounthar authored Dec 12, 2022
1 parent f2ada04 commit 2b80acd
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
// Build on ci.jenkins.io; see https://github.com/jenkins-infra/pipeline-library
buildPlugin()
#!/usr/bin/env groovy

/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */
buildPlugin(
// Container agents start faster and are easier to administer
useContainerAgent: true,
// Show failures on all configurations
failFast: false,
// Opt-in to the Artifact Caching Proxy, to be removed when it will be opt-out.
// See https://github.com/jenkins-infra/helpdesk/issues/2752 for more details and updates.
artifactCachingProxyEnabled: true,
// Test Java 11 with a recent LTS, Java 17 even more recent
configurations: [
[platform: 'linux', jdk: '17', jenkins: '2.380'],
[platform: 'linux', jdk: '11', jenkins: '2.375.1'],
[platform: 'windows', jdk: '11']
]
)

0 comments on commit 2b80acd

Please sign in to comment.