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

Improve documentation for exact versioning #35

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

update tests for publish app step

758214b
Select commit
Loading
Failed to load commit list.
Open

Improve documentation for exact versioning #35

update tests for publish app step
758214b
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Jul 30, 2024 in 4m 7s

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/ins_servicenow-cicd-plugin_PR-35@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false clean install.

script returned exit code 1
Build log
[2024-07-30T19:10:18.732Z] 
[2024-07-30T19:10:18.733Z] C:\Jenkins\agent\workspace\ins_servicenow-cicd-plugin_PR-35>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/ins_servicenow-cicd-plugin_PR-35@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false clean install 
[2024-07-30T19:10:23.183Z] -XX:InitialHeapSize=268417088 -XX:MaxHeapSize=4294673408 -XX:+PrintCommandLineFlags -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:-UseLargePagesIndividualAllocation -XX:+UseParallelGC 
[2024-07-30T19:10:36.113Z] Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
[2024-07-30T19:10:36.113Z] Maven home: C:\Jenkins\agent\tools\hudson.tasks.Maven_MavenInstallation\mvn
[2024-07-30T19:10:36.113Z] Java version: 1.8.0_422, vendor: Temurin, runtime: C:\tools\jdk-8\jre
[2024-07-30T19:10:36.113Z] Default locale: en_US, platform encoding: Cp1252
[2024-07-30T19:10:36.114Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2024-07-30T19:10:44.901Z] [INFO] Error stacktraces are turned on.
[2024-07-30T19:10:45.312Z] [INFO] Scanning for projects...
[2024-07-30T19:11:30.337Z] [INFO] 
[2024-07-30T19:11:30.348Z] [INFO] -----------------< io.jenkins.plugins:servicenow-cicd >-----------------
[2024-07-30T19:11:30.349Z] [INFO] Building ServiceNow CI/CD Plugin 2.1-SNAPSHOT
[2024-07-30T19:11:30.350Z] [INFO]   from pom.xml
[2024-07-30T19:11:30.350Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-07-30T19:12:00.967Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T19:12:00.967Z] [INFO] BUILD FAILURE
[2024-07-30T19:12:00.968Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T19:12:00.968Z] [INFO] Total time:  01:15 min
[2024-07-30T19:12:00.968Z] [INFO] Finished at: 2024-07-30T19:12:00Z
[2024-07-30T19:12:00.969Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T19:12:00.969Z] [ERROR] Plugin org.codehaus.gmavenplus:gmavenplus-plugin:1.9.1 or one of its dependencies could not be resolved:
[2024-07-30T19:12:00.969Z] [ERROR] 	The following artifacts could not be resolved: org.codehaus.gmavenplus:gmavenplus-plugin:pom:1.9.1 (absent): Could not transfer artifact org.codehaus.gmavenplus:gmavenplus-plugin:pom:1.9.1 from/to azure-proxy (https://repo.azure.jenkins.io/): status code: 502, reason phrase: Bad Gateway (502)
[2024-07-30T19:12:00.970Z] [ERROR] -> [Help 1]
[2024-07-30T19:12:00.970Z] org.apache.maven.plugin.PluginResolutionException: Plugin org.codehaus.gmavenplus:gmavenplus-plugin:1.9.1 or one of its dependencies could not be resolved:
[2024-07-30T19:12:00.970Z] 	The following artifacts could not be resolved: org.codehaus.gmavenplus:gmavenplus-plugin:pom:1.9.1 (absent): Could not transfer artifact org.codehaus.gmavenplus:gmavenplus-plugin:pom:1.9.1 from/to azure-proxy (https://repo.azure.jenkins.io/): status code: 502, reason phrase: Bad Gateway (502)
[2024-07-30T19:12:00.970Z] 
[2024-07-30T19:12:00.971Z]     at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve (DefaultPluginDependenciesResolver.java:133)
[2024-07-30T19:12:00.971Z]     at org.apache.maven.plugin.internal.DefaultMavenPluginManager.lambda$getPluginDescriptor$0 (DefaultMavenPluginManager.java:183)
[2024-07-30T19:12:00.971Z]     at org.apache.maven.plugin.DefaultPluginDescriptorCache.lambda$get$0 (DefaultPluginDescriptorCache.java:72)
[2024-07-30T19:12:00.972Z]     at java.util.concurrent.ConcurrentHashMap.computeIfAbsent (ConcurrentHashMap.java:1660)
[2024-07-30T19:12:00.972Z]     at org.apache.maven.plugin.DefaultPluginDescriptorCache.get (DefaultPluginDescriptorCache.java:70)
[2024-07-30T19:12:00.972Z]     at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor (DefaultMavenPluginManager.java:181)
[2024-07-30T19:12:00.972Z]     at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor (DefaultMavenPluginManager.java:271)
[2024-07-30T19:12:00.973Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor (DefaultBuildPluginManager.java:214)
[2024-07-30T19:12:00.973Z]     at org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings (DefaultLifecycleMappingDelegate.java:101)
[2024-07-30T19:12:00.973Z]     at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings (DefaultLifecycleExecutionPlanCalculator.java:239)
[2024-07-30T19:12:00.973Z]     at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions (DefaultLifecycleExecutionPlanCalculator.java:197)
[2024-07-30T19:12:00.974Z]     at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan (DefaultLifecycleExecutionPlanCalculator.java:119)
[2024-07-30T19:12:00.974Z]     at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan (DefaultLifecycleExecutionPlanCalculator.java:135)
[2024-07-30T19:12:00.974Z]     at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan (BuilderCommon.java:93)
[2024-07-30T19:12:00.974Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:100)
[2024-07-30T19:12:00.975Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-07-30T19:12:00.975Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-07-30T19:12:00.975Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-07-30T19:12:00.976Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-07-30T19:12:00.976Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-07-30T19:12:00.976Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-07-30T19:12:00.976Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
[2024-07-30T19:12:00.976Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
[2024-07-30T19:12:00.977Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
[2024-07-30T19:12:00.977Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-07-30T19:12:00.977Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-07-30T19:12:00.977Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-07-30T19:12:00.977Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2024-07-30T19:12:00.978Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-07-30T19:12:00.978Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-07-30T19:12:00.978Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-07-30T19:12:00.978Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-07-30T19:12:00.978Z] [ERROR] 
[2024-07-30T19:12:00.978Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2024-07-30T19:12:00.979Z] [ERROR] 
[2024-07-30T19:12:00.979Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2024-07-30T19:12:00.979Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

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-30T19:12:00.756Z] Recording test results
[2024-07-30T19:12:01.046Z] No test report files were found. Configuration error?

Details

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