Skip to content

Commit cbdb3dc

Browse files
authored
Merge pull request #277 from MarkEWaite/test-with-java-21
Test with Java 21 and Java 17
2 parents 602247c + cbe90b2 commit cbdb3dc

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

Jenkinsfile

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

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.jenkins-ci.plugins</groupId>
55
<artifactId>plugin</artifactId>
6-
<version>4.73</version>
6+
<version>4.80</version>
77
</parent>
88

99
<artifactId>s3</artifactId>
@@ -91,7 +91,7 @@
9191
<dependency>
9292
<groupId>org.testcontainers</groupId>
9393
<artifactId>testcontainers</artifactId>
94-
<version>1.19.0</version>
94+
<version>1.19.3</version>
9595
<scope>test</scope>
9696
</dependency>
9797
</dependencies>
@@ -101,7 +101,7 @@
101101
<dependency>
102102
<groupId>io.jenkins.tools.bom</groupId>
103103
<artifactId>bom-2.387.x</artifactId>
104-
<version>2446.v2e9fd3b_d8c81</version>
104+
<version>2543.vfb_1a_5fb_9496d</version>
105105
<type>pom</type>
106106
<scope>import</scope>
107107
</dependency>

0 commit comments

Comments
 (0)