Skip to content

Commit

Permalink
Update parent POM, update dependencies, test with Java 21 (#48)
Browse files Browse the repository at this point in the history
* Test with Java 21.

* Update parent POM.

* Update Jenkins version.

* Update BOM version.
  • Loading branch information
gounthar authored Oct 15, 2023
1 parent 7cd3bd0 commit 23ec041
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
12 changes: 11 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
buildPlugin(useContainerAgent: true)
/*
See the documentation for more options:
https://github.com/jenkins-infra/pipeline-library/
*/
buildPlugin(
forkCount: '1C', // run this number of tests in parallel for faster feedback. If the number terminates with a 'C', the value will be multiplied by the number of available CPU cores
useContainerAgent: true, // Set to `false` if you need to use Docker for containerized tests
configurations: [
[platform: 'linux', jdk: 21],
[platform: 'windows', jdk: 17],
])
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.50</version>
<version>4.74</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -48,7 +48,7 @@
<properties>
<revision>1.17</revision>
<changelist>-SNAPSHOT</changelist>
<jenkins.version>2.332.3</jenkins.version>
<jenkins.version>2.361.4</jenkins.version>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<cargo.version>1.7.6</cargo.version>
<deployment-client.version>5.1.0</deployment-client.version>
Expand All @@ -58,8 +58,8 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.332.x</artifactId>
<version>1670.v7f165fc7a_079</version>
<artifactId>bom-2.361.x</artifactId>
<version>2102.v854b_fec19c92</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down

0 comments on commit 23ec041

Please sign in to comment.