Skip to content

Commit 86f19ae

Browse files
authored
Test with Java 21 (#736)
* Add a JDK21 Jenkinsfile for ci.jenkins.io * Update Jenkinsfile
1 parent f62ec0a commit 86f19ae

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Jenkinsfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
buildPlugin(useContainerAgent: true, configurations: [
2-
[platform: 'linux', jdk: 17],
3-
[platform: 'windows', jdk: 11],
1+
/*
2+
See the documentation for more options:
3+
https://github.com/jenkins-infra/pipeline-library/
4+
*/
5+
buildPlugin(
6+
useContainerAgent: true, // Set to `false` if you need to use Docker for containerized tests
7+
configurations: [
8+
[platform: 'linux', jdk: 21],
9+
[platform: 'windows', jdk: 17],
410
])

0 commit comments

Comments
 (0)