Now that Java 25 is available, I started to enable Java 25 for my plugin builds 
and it looks quite promising for the simpler ones (API libraries). The complex 
ones that have integration test with the workflow CPS plugin currently fail 
with Java 25.  It seems that my pipeline steps are not found when I build with 
Java 25:

[Pipeline] End of Pipeline
Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 
0215aec7-4f58-4787-ac04-9f74e4992dc6
java.lang.NoSuchMethodError: No such DSL method 'discoverReferenceBuild' found 
among steps [archive, ..., zip] or globals [currentBuild, env, params, 
pipeline, scm]
        at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:219)
        at 
org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:124)

Has anyone tried to get such tests running with Java 25 as well?

> Am 22.08.2025 um 17:35 schrieb Mark Waite <[email protected]>:
> 
> On Fri, Aug 22, 2025 at 9:18 AM Oleg Nenashev wrote:
> 
>> Am I correct to interpret that non-plugin repositories are NOT included by 
>> default?
>> For example, Jenkinsfile Runner or Custom War Packager from what I see on my 
>> list in https://github.com/jenkins-infra/repository-permissions-updater
> 
> That's correct.  Supporting Java 25 will probably require changes in
> non-plugin repositories (like Jenkins core, Stapler, Winstone, etc.),
> but those changes won't be tracked in the community plugin maintainers
> initiative.
> 
> Thanks!
> Mark Waite
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtGHz6c5WbLx9tA2RO5RUZEBQvi9TouMng8XLXtgH9KTsA%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jenkinsci-dev/4492363D-934A-4B75-B67C-D96CFA1A09A8%40gmail.com.

Reply via email to