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

chore: use jenkins infra maven cd reusable workflow #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

chore: use jenkins infra maven cd reusable workflow

6fe620e
Select commit
Loading
Failed to load commit list.
Open

chore: use jenkins infra maven cd reusable workflow #12

chore: use jenkins infra maven cd reusable workflow
6fe620e
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Jul 30, 2024 in 6m 54s

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

windows-8 / Build (windows-8) / Windows Batch Script

Error in bat step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/Plugins_uleska-plugin_PR-12@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=C:/Jenkins/agent/workspace/Plugins_uleska-plugin_PR-12@tmp/changelist clean install.

script returned exit code 1
Build log
[2024-07-30T18:54:28.804Z] 
[2024-07-30T18:54:28.805Z] C:\Jenkins\agent\workspace\Plugins_uleska-plugin_PR-12>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/Plugins_uleska-plugin_PR-12@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=C:/Jenkins/agent/workspace/Plugins_uleska-plugin_PR-12@tmp/changelist clean install 
[2024-07-30T18:54:30.457Z] -XX:InitialHeapSize=268417088 -XX:MaxHeapSize=4294673408 -XX:+PrintCommandLineFlags -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:-UseLargePagesIndividualAllocation -XX:+UseParallelGC 
[2024-07-30T18:54:35.820Z] Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
[2024-07-30T18:54:35.820Z] Maven home: C:\Jenkins\agent\tools\hudson.tasks.Maven_MavenInstallation\mvn
[2024-07-30T18:54:35.821Z] Java version: 1.8.0_422, vendor: Temurin, runtime: C:\tools\jdk-8\jre
[2024-07-30T18:54:35.821Z] Default locale: en_US, platform encoding: Cp1252
[2024-07-30T18:54:35.821Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2024-07-30T18:54:50.568Z] [INFO] Error stacktraces are turned on.
[2024-07-30T18:54:52.290Z] [INFO] Setting: -Dchangelist=39.v6fe620ec2f51 -DscmTag=6fe620ec2f51adf59660269c8d6f03adf05c193d
[2024-07-30T18:54:52.290Z] [INFO] Setting: -DgitHubRepo=jetersen/uleska-plugin
[2024-07-30T18:54:52.291Z] [INFO] Scanning for projects...
[2024-07-30T18:55:28.402Z] [INFO] 
[2024-07-30T18:55:28.402Z] [INFO] ---------------------< io.jenkins.plugins:uleska >----------------------
[2024-07-30T18:55:28.403Z] [INFO] Building Uleska Plugin 39.v6fe620ec2f51
[2024-07-30T18:55:28.403Z] [INFO]   from pom.xml
[2024-07-30T18:55:28.403Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-07-30T18:55:28.404Z] [INFO] 
[2024-07-30T18:55:28.407Z] [INFO] --- help:3.4.1:evaluate (default-cli) @ uleska ---
[2024-07-30T18:55:30.567Z] [INFO] No artifact parameter specified, using 'io.jenkins.plugins:uleska:hpi:39.v6fe620ec2f51' as project.
[2024-07-30T18:55:30.567Z] [INFO] Result of evaluation written to: C:\Jenkins\agent\workspace\Plugins_uleska-plugin_PR-12@tmp\changelist
[2024-07-30T18:55:30.568Z] [INFO] 
[2024-07-30T18:55:30.568Z] [INFO] ---------------------< io.jenkins.plugins:uleska >----------------------
[2024-07-30T18:55:30.568Z] [INFO] Building Uleska Plugin 39.v6fe620ec2f51
[2024-07-30T18:55:30.568Z] [INFO]   from pom.xml
[2024-07-30T18:55:30.569Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-07-30T18:55:30.569Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.13:validate (default-validate)'
[2024-07-30T18:55:30.569Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.13:insert-test (default-insert-test)'
[2024-07-30T18:55:30.570Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.13:test-hpl (default-test-hpl)'
[2024-07-30T18:55:30.571Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.13:resolve-test-dependencies (default-resolve-test-dependencies)'
[2024-07-30T18:55:30.571Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.13:hpi (default-hpi)'
[2024-07-30T18:56:10.139Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T18:56:10.140Z] [INFO] BUILD FAILURE
[2024-07-30T18:56:10.140Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T18:56:10.140Z] [INFO] Total time:  01:19 min
[2024-07-30T18:56:10.140Z] [INFO] Finished at: 2024-07-30T18:56:10Z
[2024-07-30T18:56:10.141Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T18:56:10.141Z] [ERROR] Failed to execute goal on project uleska: Could not collect dependencies for project io.jenkins.plugins:uleska:hpi:39.v6fe620ec2f51
[2024-07-30T18:56:10.141Z] [ERROR] Failed to read artifact descriptor for org.apache.httpcomponents.client5:httpclient5:jar:5.1.2
[2024-07-30T18:56:10.142Z] [ERROR] 	Caused by: The following artifacts could not be resolved: org.apache.httpcomponents.client5:httpclient5-parent:pom:5.1.2 (absent): Could not transfer artifact org.apache.httpcomponents.client5:httpclient5-parent:pom:5.1.2 from/to azure-proxy (https://repo.azure.jenkins.io/): status code: 502, reason phrase: Bad Gateway (502)
[2024-07-30T18:56:10.142Z] [ERROR] -> [Help 1]
[2024-07-30T18:56:10.142Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project uleska: Could not collect dependencies for project io.jenkins.plugins:uleska:hpi:39.v6fe620ec2f51
[2024-07-30T18:56:10.142Z] Failed to read artifact descriptor for org.apache.httpcomponents.client5:httpclient5:jar:5.1.2
[2024-07-30T18:56:10.143Z] 	Caused by: The following artifacts could not be resolved: org.apache.httpcomponents.client5:httpclient5-parent:pom:5.1.2 (absent): Could not transfer artifact org.apache.httpcomponents.client5:httpclient5-parent:pom:5.1.2 from/to azure-proxy (https://repo.azure.jenkins.io/): status code: 502, reason phrase: Bad Gateway (502)
[2024-07-30T18:56:10.143Z] 
[2024-07-30T18:56:10.143Z]     at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:243)
[2024-07-30T18:56:10.143Z]     at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:136)
[2024-07-30T18:56:10.144Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:355)
[2024-07-30T18:56:10.144Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:313)
[2024-07-30T18:56:10.144Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-07-30T18:56:10.145Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-07-30T18:56:10.145Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-07-30T18:56:10.145Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-07-30T18:56:10.145Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-07-30T18:56:10.146Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-07-30T18:56:10.146Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-07-30T18:56:10.146Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-07-30T18:56:10.147Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-07-30T18:56:10.147Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-07-30T18:56:10.147Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-07-30T18:56:10.147Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-07-30T18:56:10.147Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-07-30T18:56:10.148Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
[2024-07-30T18:56:10.148Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
[2024-07-30T18:56:10.148Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
[2024-07-30T18:56:10.148Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-07-30T18:56:10.148Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-07-30T18:56:10.149Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-07-30T18:56:10.149Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2024-07-30T18:56:10.149Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-07-30T18:56:10.149Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-07-30T18:56:10.149Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-07-30T18:56:10.150Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-07-30T18:56:10.150Z] Caused by: org.apache.maven.project.DependencyResolutionException: Could not collect dependencies for project io.jenkins.plugins:uleska:hpi:39.v6fe620ec2f51
[2024-07-30T18:56:10.150Z] Failed to read artifact descriptor for org.apache.httpcomponents.client5:httpclient5:jar:5.1.2
[2024-07-30T18:56:10.150Z] 	Caused by: The following artifacts could not be resolved: org.apache.httpcomponents.client5:httpclient5-parent:pom:5.1.2 (absent): Could not transfer artifact org.apache.httpcomponents.client5:httpclient5-parent:pom:5.1.2 from/to azure-proxy (https://repo.azure.jenkins.io/): status code: 502, reason phrase: Bad Gateway (502)
[2024-07-30T18:56:10.150Z] 
[2024-07-30T18:56:10.151Z]     at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:160)
[2024-07-30T18:56:10.151Z]     at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:224)
[2024-07-30T18:56:10.151Z]     at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:136)
[2024-07-30T18:56:10.151Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:355)
[2024-07-30T18:56:10.151Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:313)
[2024-07-30T18:56:10.152Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-07-30T18:56:10.152Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-07-30T18:56:10.152Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-07-30T18:56:10.152Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-07-30T18:56:10.152Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-07-30T18:56:10.152Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-07-30T18:56:10.153Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-07-30T18:56:10.153Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-07-30T18:56:10.153Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-07-30T18:56:10.153Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-07-30T18:56:10.153Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-07-30T18:56:10.154Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-07-30T18:56:10.154Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-07-30T18:56:10.154Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
[2024-07-30T18:56:10.154Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
[2024-07-30T18:56:10.154Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
[2024-07-30T18:56:10.154Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-07-30T18:56:10.155Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-07-30T18:56:10.155Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-07-30T18:56:10.155Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2024-07-30T18:56:10.155Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-07-30T18:56:10.156Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-07-30T18:56:10.156Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-07-30T18:56:10.156Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-07-30T18:56:10.156Z] [ERROR] 
[2024-07-30T18:56:10.156Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2024-07-30T18:56:10.157Z] [ERROR] 
[2024-07-30T18:56:10.157Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2024-07-30T18:56:10.157Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

windows-8 / Build (windows-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-30T18:56:09.964Z] Recording test results
[2024-07-30T18:56:10.143Z] No test report files were found. Configuration error?

Details

  • linux-8 (2 ms)
  • windows-8 (6 min 54 sec)
    • Checkout (windows-8) (18 sec)
    • Build (windows-8) (1 min 45 sec)
      Error: script returned exit code 1
      Error: No test report files were found. Configuration error?