-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jenkinsfile: update baseline to Jenkins version for JDK11/17 (and tes…
…t win/lin builds)
- Loading branch information
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
#!/usr/bin/env groovy | ||
/* | ||
* See the documentation for more options: | ||
* https://github.com/jenkins-infra/pipeline-library/ | ||
*/ | ||
buildPlugin(useContainerAgent: true, configurations: [ | ||
// Test the common case (i.e., a recent LTS release) on both Linux and Windows. | ||
[ platform: 'linux', jdk: '11', jenkins: '2.361.1' ], | ||
[ platform: 'windows', jdk: '11', jenkins: '2.361.1' ], | ||
|
||
/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ | ||
//buildPlugin() | ||
|
||
// Currently, container builds perform more reliably than the docker ones... so: | ||
buildPlugin(useContainerAgent: true, platforms: ['linux']) | ||
// Test the bleeding edge of the compatibility spectrum (i.e., the latest supported Java runtime). | ||
// see also https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ | ||
[ platform: 'linux', jdk: '17', jenkins: '2.361.2' ], | ||
]) |