Skip to content

Commit

Permalink
Merge pull request #277 from MarkEWaite/test-with-java-21
Browse files Browse the repository at this point in the history
Test with Java 21 and Java 17
  • Loading branch information
alecharp authored Jul 19, 2024
2 parents 602247c + cbe90b2 commit cbdb3dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 9 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// Build the plugin using https://github.com/jenkins-infra/pipeline-library
buildPlugin(configurations: [
[ platform: 'linux', jdk: '11' ],
[ platform: 'windows', jdk: '11' ],
[ platform: 'linux', jdk: '17' ],
/*
See the documentation for more options:
https://github.com/jenkins-infra/pipeline-library/
*/
buildPlugin(
useContainerAgent: false, // Set to `false` if you need to use Docker for containerized tests
configurations: [
[platform: 'linux', jdk: 21],
[platform: 'windows', jdk: 17],
])
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.73</version>
<version>4.80</version>
</parent>

<artifactId>s3</artifactId>
Expand Down Expand Up @@ -91,7 +91,7 @@
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>1.19.0</version>
<version>1.19.3</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -101,7 +101,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.387.x</artifactId>
<version>2446.v2e9fd3b_d8c81</version>
<version>2543.vfb_1a_5fb_9496d</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

0 comments on commit cbdb3dc

Please sign in to comment.