Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated codebase to make it compile with latest versions #64

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

pom deprecation changes

e2e9d0e
Select commit
Loading
Failed to load commit list.
Open

Updated codebase to make it compile with latest versions #64

pom deprecation changes
e2e9d0e
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Jul 1, 2024 in 1m 11s

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

linux-8 / Build (linux-8) / 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/ild-status-notifier-plugin_PR-64@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
[2024-07-01T14:56:23.271Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/ild-status-notifier-plugin_PR-64@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco clean install
[2024-07-01T14:56:24.175Z] -XX:InitialHeapSize=261822336 -XX:MaxHeapSize=4189157376 -XX:+PrintCommandLineFlags -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseParallelGC 
[2024-07-01T14:56:27.383Z] Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
[2024-07-01T14:56:27.383Z] Maven home: /home/jenkins/agent/tools/hudson.tasks.Maven_MavenInstallation/mvn
[2024-07-01T14:56:27.384Z] Java version: 1.8.0_412, vendor: Temurin, runtime: /opt/jdk-8/jre
[2024-07-01T14:56:27.384Z] Default locale: en_US, platform encoding: UTF-8
[2024-07-01T14:56:27.385Z] OS name: "linux", version: "6.5.0-1022-azure", arch: "amd64", family: "unix"
[2024-07-01T14:56:28.789Z] [INFO] Error stacktraces are turned on.
[2024-07-01T14:56:28.991Z] [INFO] Scanning for projects...
[2024-07-01T14:56:34.004Z] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[2024-07-01T14:56:34.004Z] [ERROR] Unknown packaging: hpi @ line 14, column 14
[2024-07-01T14:56:34.005Z]  @ 
[2024-07-01T14:56:34.005Z] [ERROR] The build could not read 1 project -> [Help 1]
[2024-07-01T14:56:34.005Z] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[2024-07-01T14:56:34.005Z] [ERROR] Unknown packaging: hpi @ line 14, column 14
[2024-07-01T14:56:34.006Z] 
[2024-07-01T14:56:34.006Z]     at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:389)
[2024-07-01T14:56:34.007Z]     at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphBuilder.java:349)
[2024-07-01T14:56:34.007Z]     at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (DefaultGraphBuilder.java:340)
[2024-07-01T14:56:34.007Z]     at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.java:76)
[2024-07-01T14:56:34.008Z]     at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:448)
[2024-07-01T14:56:34.008Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:197)
[2024-07-01T14:56:34.008Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-07-01T14:56:34.009Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-07-01T14:56:34.009Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
[2024-07-01T14:56:34.009Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
[2024-07-01T14:56:34.009Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
[2024-07-01T14:56:34.010Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-07-01T14:56:34.010Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-07-01T14:56:34.010Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-07-01T14:56:34.011Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2024-07-01T14:56:34.011Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-07-01T14:56:34.011Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-07-01T14:56:34.011Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-07-01T14:56:34.011Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-07-01T14:56:34.012Z] [ERROR]   
[2024-07-01T14:56:34.012Z] [ERROR]   The project org.jenkins-ci.plugins:bitbucket-build-status-notifier:1.4.3-SNAPSHOT (/home/jenkins/agent/workspace/ild-status-notifier-plugin_PR-64/pom.xml) has 1 error
[2024-07-01T14:56:34.012Z] [ERROR]     Unknown packaging: hpi @ line 14, column 14
[2024-07-01T14:56:34.012Z] [ERROR] 
[2024-07-01T14:56:34.013Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2024-07-01T14:56:34.013Z] [ERROR] 
[2024-07-01T14:56:34.013Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2024-07-01T14:56:34.014Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

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

Error in junit step, with arguments **/target/surefire-reports/**/*.xml,**/target/failsafe-reports/**/*.xml,**/target/invoker-reports/**/*.xml.

No test report files were found. Configuration error?
Build log
[2024-07-01T14:56:34.187Z] Recording test results
[2024-07-01T14:56:34.327Z] No test report files were found. Configuration error?

Details

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