Skip to content

Commit

Permalink
Jenkinsfile: update baseline to Jenkins version for JDK11/17 (and tes…
Browse files Browse the repository at this point in the history
…t win/lin builds)
  • Loading branch information
jimklimov committed Nov 22, 2022
1 parent 98b30fe commit 7cdbdaf
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Jenkinsfile
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' ],
])

0 comments on commit 7cdbdaf

Please sign in to comment.