Skip to content

Commit ecf669f

Browse files
Test with Java 25 (#272)
* 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.8 to 1.13. - [Release notes](https://github.com/jenkinsci/incrementals-tools/releases) - [Commits](jenkinsci/incrementals-tools@parent-1.8...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] <support@github.com> * Declare plugin dependencies explicitly https://www.jenkins.io/doc/developer/plugin-development/dependencies-and-class-loading/#build-time-validation-of-bundled-artifacts describes the benefits of explicitly declaring the dependencies of the plugin. * 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 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. Includes other pull requests: * #260 Testing done * Confirmed that automated tests pass with Java 25 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 8dbd30e commit ecf669f

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.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.8</version>
5+
<version>1.13</version>
66
</extension>
77
</extensions>

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildPlugin(
22
useContainerAgent: true,
33
configurations: [
4-
[platform: 'linux', jdk: 21],
5-
[platform: 'windows', jdk: 17]
4+
[platform: 'linux', jdk: 25],
5+
[platform: 'windows', jdk: 21]
66
])

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
3232
<jenkins.baseline>2.479</jenkins.baseline>
3333
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
34+
<hpi.bundledArtifacts>kotlin-stdlib,kotlin-stdlib-common,kotlin-stdlib-jdk7,kotlin-stdlib-jdk8,logging-interceptor,okhttp,okio,okio-jvm</hpi.bundledArtifacts>
35+
<hpi.strictBundledArtifacts>true</hpi.strictBundledArtifacts>
3436
<no-test-jar>false</no-test-jar>
3537
<!--
3638
beware https://github.com/jenkinsci/plugin-pom/issues/705 and https://github.com/jenkinsci/plugin-pom/issues/707

0 commit comments

Comments
 (0)