Skip to content

Commit 9f0a7ec

Browse files
Test with Java 25 (#520)
* Bump io.jenkins.tools.incrementals:git-changelist-maven-extension Bumps [io.jenkins.tools.incrementals:git-changelist-maven-extension](https://github.com/jenkinsci/incrementals-tools) from 1.10 to 1.13. - [Release notes](https://github.com/jenkinsci/incrementals-tools/releases) - [Commits](jenkinsci/incrementals-tools@parent-1.10...parent-1.13) --- updated-dependencies: - dependency-name: io.jenkins.tools.incrementals:git-changelist-maven-extension dependency-version: '1.13' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump io.jenkins.tools.bom:bom-2.492.x Bumps [io.jenkins.tools.bom:bom-2.492.x](https://github.com/jenkinsci/bom) from 5054.v620b_5d2b_d5e6 to 5473.vb_9533d9e5d88. - [Release notes](https://github.com/jenkinsci/bom/releases) - [Commits](https://github.com/jenkinsci/bom/commits) --- updated-dependencies: - dependency-name: io.jenkins.tools.bom:bom-2.492.x dependency-version: 5473.vb_9533d9e5d88 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Bump org.jenkins-ci.plugins:plugin from 5.18 to 5.28 Bumps [org.jenkins-ci.plugins:plugin](https://github.com/jenkinsci/plugin-pom) from 5.18 to 5.28. - [Release notes](https://github.com/jenkinsci/plugin-pom/releases) - [Changelog](https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md) - [Commits](jenkinsci/plugin-pom@plugin-5.18...plugin-5.28) --- updated-dependencies: - dependency-name: org.jenkins-ci.plugins:plugin dependency-version: '5.28' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Test with Java 25 and Java 21 Java 25 released September 16, 2025. The Jenkins project wants to support Java 25 soon. Compile and test on ci.jenkins.io with Java 25 and Java 21. Intentionally continues to generate Java 17 byte code as configured by the plugin parent pom. Does not compile or test with Java 17 on ci.jenkins.io any longer because we have found no issues in the past that were specific to the Java 17 compiler. The plan is to drop support for Java 17 in the not too distant future so that the Jenkins project is only supporting two major Java versions at a time, Java 21 and Java 25. Simplifies the configuration block of the Jenkinsfile so that it more closely resembles the Jenkins plugin archetype. Requires pull requests: * #514 * #510 * #506 Testing done: * Confirmed that automated tests pass with Java 25 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 1a1e87b commit 9f0a7ec

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.mvn/extensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<extension>
33
<groupId>io.jenkins.tools.incrementals</groupId>
44
<artifactId>git-changelist-maven-extension</artifactId>
5-
<version>1.10</version>
5+
<version>1.13</version>
66
</extension>
77
</extensions>

Jenkinsfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!groovy
22

33
def configurations = [
4-
[ platform: "linux", jdk: "17", jenkins: null ],
5-
[ platform: "windows", jdk: "17", jenkins: null ],
6-
[ platform: "linux", jdk: "21", jenkins: null ],
4+
[ platform: "linux", jdk: 25 ],
5+
[ platform: "windows", jdk: 21 ],
76
]
87
buildPlugin(useContainerAgent: true, configurations: configurations)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.jenkins-ci.plugins</groupId>
66
<artifactId>plugin</artifactId>
7-
<version>5.18</version>
7+
<version>5.28</version>
88
<relativePath />
99
</parent>
1010
<groupId>io.jenkins.plugins</groupId>

0 commit comments

Comments
 (0)