Skip to content

Commit 23ec041

Browse files
authored
Update parent POM, update dependencies, test with Java 21 (#48)
* Test with Java 21. * Update parent POM. * Update Jenkins version. * Update BOM version.
1 parent 7cd3bd0 commit 23ec041

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

Jenkinsfile

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

pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.jenkins-ci.plugins</groupId>
77
<artifactId>plugin</artifactId>
8-
<version>4.50</version>
8+
<version>4.74</version>
99
<relativePath />
1010
</parent>
1111

@@ -48,7 +48,7 @@
4848
<properties>
4949
<revision>1.17</revision>
5050
<changelist>-SNAPSHOT</changelist>
51-
<jenkins.version>2.332.3</jenkins.version>
51+
<jenkins.version>2.361.4</jenkins.version>
5252
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
5353
<cargo.version>1.7.6</cargo.version>
5454
<deployment-client.version>5.1.0</deployment-client.version>
@@ -58,8 +58,8 @@
5858
<dependencies>
5959
<dependency>
6060
<groupId>io.jenkins.tools.bom</groupId>
61-
<artifactId>bom-2.332.x</artifactId>
62-
<version>1670.v7f165fc7a_079</version>
61+
<artifactId>bom-2.361.x</artifactId>
62+
<version>2102.v854b_fec19c92</version>
6363
<scope>import</scope>
6464
<type>pom</type>
6565
</dependency>

0 commit comments

Comments
 (0)