Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore(dependencies) Only builds with JDK11 and JDK17
  • Loading branch information
gounthar authored Dec 12, 2022
commit 62da7812d362aa4c797e9a90f1bddb9665a15ddf
23 changes: 18 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
/*
* See the documentation for more options:
* https://github.com/jenkins-infra/pipeline-library/
*/
buildPlugin(useContainerAgent: true)
#!/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']
]
)