Skip to content

Commit 37e3a58

Browse files
committed
Jenkinsfile: test with newer Jenkins core
Signed-off-by: Jim Klimov <[email protected]>
1 parent 9ab7cd3 commit 37e3a58

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Jenkinsfile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,19 @@
33
* https://github.com/jenkins-infra/pipeline-library/
44
*/
55
buildPlugin(useContainerAgent: true, configurations: [
6-
// Test the common case (i.e., a recent LTS release) on both Linux and Windows.
6+
// Test the common case (i.e., a recent LTS release) on both Linux and Windows
7+
// with same core version as the lowest baseline requested by pom.xml
78
[ platform: 'linux', jdk: '11', jenkins: '2.361.1' ],
89
[ platform: 'windows', jdk: '11', jenkins: '2.361.1' ],
910

1011
// Test the bleeding edge of the compatibility spectrum (i.e., the latest supported Java runtime).
1112
// see also https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/
12-
[ platform: 'linux', jdk: '17', jenkins: '2.361.2' ],
13+
// NOTE: 2.475+ introduced other breaking changes to ecosystem
14+
//[ platform: 'linux', jdk: '17', jenkins: '2.479.1' ],
15+
16+
// NOTE: LTS https://www.jenkins.io/changelog-stable/#v2.462.3
17+
// is the last LTS release to support Java 11
18+
[ platform: 'linux', jdk: '11', jenkins: '2.462.3' ],
19+
[ platform: 'linux', jdk: '17', jenkins: '2.462.3' ],
20+
[ platform: 'linux', jdk: '21', jenkins: '2.462.3' ],
1321
])

0 commit comments

Comments
 (0)