Skip to content

feat(java): Require Jenkins core 2.492.3 and Java 17#25

Open
gounthar wants to merge 2 commits into
jenkinsci:masterfrom
gounthar:plugin-modernizer/upgradenextmajorparentversion
Open

feat(java): Require Jenkins core 2.492.3 and Java 17#25
gounthar wants to merge 2 commits into
jenkinsci:masterfrom
gounthar:plugin-modernizer/upgradenextmajorparentversion

chore(jenkins): Build with JDK17 and 21.

5123243
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Jul 21, 2025 in 1m 21s

linux-11/Build (linux-11): error in 'junit' step

linux-11 / Build (linux-11) / Shell Script

Error in sh step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/lugins_testcomplete-plugin_PR-25@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco clean install.

script returned exit code 1
Build log
[2025-07-21T10:14:05.196Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/lugins_testcomplete-plugin_PR-25@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco clean install
[2025-07-21T10:14:05.298Z] -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=187499968 -XX:MaxHeapSize=2999999488 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC 
[2025-07-21T10:14:05.399Z] Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b)
[2025-07-21T10:14:05.400Z] Maven home: /usr/share/apache-maven-3.9.11
[2025-07-21T10:14:05.400Z] Java version: 11.0.27, vendor: Eclipse Adoptium, runtime: /opt/jdk-11
[2025-07-21T10:14:05.400Z] Default locale: en_US, platform encoding: UTF-8
[2025-07-21T10:14:05.400Z] OS name: "linux", version: "6.1.141-165.249.amzn2023.x86_64", arch: "amd64", family: "unix"
[2025-07-21T10:14:06.103Z] [INFO] Error stacktraces are turned on.
[2025-07-21T10:14:06.204Z] [INFO] Scanning for projects...
[2025-07-21T10:14:07.909Z] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[2025-07-21T10:14:07.910Z] [ERROR] Unknown packaging: hpi @ line 20, column 14
[2025-07-21T10:14:07.910Z]  @ 
[2025-07-21T10:14:07.910Z] [ERROR] The build could not read 1 project -> [Help 1]
[2025-07-21T10:14:07.910Z] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[2025-07-21T10:14:07.911Z] [ERROR] Unknown packaging: hpi @ line 20, column 14
[2025-07-21T10:14:07.911Z] 
[2025-07-21T10:14:07.911Z]     at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:389)
[2025-07-21T10:14:07.911Z]     at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphBuilder.java:351)
[2025-07-21T10:14:07.911Z]     at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (DefaultGraphBuilder.java:342)
[2025-07-21T10:14:07.911Z]     at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.java:76)
[2025-07-21T10:14:07.912Z]     at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:448)
[2025-07-21T10:14:07.912Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:197)
[2025-07-21T10:14:07.912Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2025-07-21T10:14:07.912Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2025-07-21T10:14:07.912Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2025-07-21T10:14:07.912Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2025-07-21T10:14:07.912Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2025-07-21T10:14:07.913Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2025-07-21T10:14:07.913Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2025-07-21T10:14:07.913Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2025-07-21T10:14:07.913Z]     at java.lang.reflect.Method.invoke (Method.java:566)
[2025-07-21T10:14:07.913Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2025-07-21T10:14:07.913Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2025-07-21T10:14:07.913Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2025-07-21T10:14:07.914Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2025-07-21T10:14:07.914Z] [ERROR]   
[2025-07-21T10:14:07.914Z] [ERROR]   The project org.jenkins-ci.plugins:TestComplete:2.10-SNAPSHOT (/home/jenkins/agent/workspace/lugins_testcomplete-plugin_PR-25/pom.xml) has 1 error
[2025-07-21T10:14:07.914Z] [ERROR]     Unknown packaging: hpi @ line 20, column 14
[2025-07-21T10:14:07.914Z] [ERROR] 
[2025-07-21T10:14:07.914Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2025-07-21T10:14:07.914Z] [ERROR] 
[2025-07-21T10:14:07.915Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2025-07-21T10:14:07.915Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

linux-11 / Build (linux-11) / Archive JUnit-formatted test results

Error in junit step.

No test report files were found. Configuration error?
Build log
[2025-07-21T10:14:12.578Z] Recording test results
[2025-07-21T10:14:12.674Z] No test report files were found. Configuration error?

Details

  • linux-11 (8 ms)
    • Checkout (linux-11) (7.7 sec)
    • Build (linux-11) (5.2 sec)
      Error: script returned exit code 1 - logs
      Error: No test report files were found. Configuration error? - logs
  • windows-11 (1 min 24 sec)