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 Embeds, Major Refactor/Cleanup #138

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

Make step transient again

afd3a63
Select commit
Loading
Failed to load commit list.
Open

Improve Embeds, Major Refactor/Cleanup #138

Make step transient again
afd3a63
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Oct 20, 2024 in 1m 22s

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

linux-21 / Archive (linux-21) / Record compiler warnings and static analysis results

Warning in recordIssues step, with arguments {qualityGates=[{threshold=1, type=NEW, unstable=true}], sourceCodeEncoding=UTF-8, trendChartType=TOOLS_ONLY, tool=@spotBugs(pattern=**/target/spotbugsXml.xml,**/target/findbugsXml.xml), skipBlames=true}.

-> Some quality gates have been missed: overall result is UNSTABLE

linux-21 / Archive (linux-21) / Error signal

Error in error step, with arguments Static analysis quality gates not passed; halting early.

Static analysis quality gates not passed; halting early

windows-17 / Build (windows-17) / 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/s_discord-notifier-plugin_PR-138@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/s_discord-notifier-plugin_PR-138@tmp/changelist clean install.

null
Build log
[2024-10-20T03:05:15.815Z] 
[2024-10-20T03:05:15.816Z] C:\Jenkins\agent\workspace\s_discord-notifier-plugin_PR-138>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/s_discord-notifier-plugin_PR-138@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/s_discord-notifier-plugin_PR-138@tmp/changelist clean install 
[2024-10-20T03:05:16.123Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=134200512 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=2147208192 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation 
[2024-10-20T03:05:17.550Z] Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
[2024-10-20T03:05:17.551Z] Maven home: C:\tools\apache-maven-3.9.9
[2024-10-20T03:05:17.551Z] Java version: 17.0.12, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-17
[2024-10-20T03:05:17.552Z] Default locale: en_US, platform encoding: UTF-8
[2024-10-20T03:05:17.558Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2024-10-20T03:05:25.979Z] [INFO] Error stacktraces are turned on.
[2024-10-20T03:05:27.031Z] [INFO] Setting: -Dchangelist=263.va_fd3a_634c15e -DscmTag=afd3a634c15e14ba503d03dad0bb0a7b962c8d6d
[2024-10-20T03:05:27.032Z] [INFO] Setting: -DgitHubRepo=solonovamax/discord-notifier-plugin
[2024-10-20T03:05:27.033Z] [INFO] Scanning for projects...
[2024-10-20T03:05:35.653Z] [INFO] 
[2024-10-20T03:05:35.655Z] [INFO] ------------------< nz.co.jammehcow:discord-notifier >------------------
[2024-10-20T03:05:35.655Z] [INFO] Building Discord Notifier 263.va_fd3a_634c15e
[2024-10-20T03:05:35.668Z] [INFO]   from pom.xml
[2024-10-20T03:05:35.669Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-10-20T03:05:35.671Z] [INFO] 
[2024-10-20T03:05:35.671Z] [INFO] --- help:3.5.0:evaluate (default-cli) @ discord-notifier ---
[2024-10-20T03:05:36.184Z] [INFO] No artifact parameter specified, using 'nz.co.jammehcow:discord-notifier:hpi:263.va_fd3a_634c15e' as project.
[2024-10-20T03:05:36.185Z] [INFO] Result of evaluation written to: C:\Jenkins\agent\workspace\s_discord-notifier-plugin_PR-138@tmp\changelist
[2024-10-20T03:05:36.191Z] [INFO] 
[2024-10-20T03:05:36.195Z] [INFO] ------------------< nz.co.jammehcow:discord-notifier >------------------
[2024-10-20T03:05:36.196Z] [INFO] Building Discord Notifier 263.va_fd3a_634c15e
[2024-10-20T03:05:36.202Z] [INFO]   from pom.xml
[2024-10-20T03:05:36.202Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-10-20T03:05:44.462Z] [INFO] 
[2024-10-20T03:05:44.463Z] [INFO] --- clean:3.4.0:clean (default-clean) @ discord-notifier ---
[2024-10-20T03:05:44.463Z] [INFO] 
[2024-10-20T03:05:44.465Z] [INFO] --- hpi:3.57:validate (default-validate) @ discord-notifier ---
[2024-10-20T03:05:44.569Z] [INFO] Created marker file C:\Jenkins\agent\workspace\s_discord-notifier-plugin_PR-138\target\java-level\11
[2024-10-20T03:05:44.570Z] [INFO] 
[2024-10-20T03:05:44.571Z] [INFO] --- hpi:3.57:validate-hpi (default-validate-hpi) @ discord-notifier ---
[2024-10-20T03:05:46.128Z] [INFO] 
[2024-10-20T03:05:46.129Z] [INFO] --- enforcer:3.5.0:enforce (display-info) @ discord-notifier ---
[2024-10-20T03:05:46.851Z] [INFO] Rule 0: io.jenkins.tools.incrementals.enforcer.RequireExtensionVersion passed
[2024-10-20T03:05:46.852Z] [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[2024-10-20T03:05:46.955Z] [INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2024-10-20T03:05:47.871Z] [INFO] Rule 3: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed
[2024-10-20T03:05:48.189Z] [INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2024-10-20T03:05:48.191Z] [INFO] Rule 5: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps passed
[2024-10-20T03:05:48.192Z] [INFO] 
[2024-10-20T03:05:48.195Z] [INFO] --- enforcer:3.5.0:enforce (no-snapshots-in-release) @ discord-notifier ---
[2024-10-20T03:05:48.195Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps passed
[2024-10-20T03:05:48.196Z] [INFO] 
[2024-10-20T03:05:48.205Z] [INFO] --- localizer:1.31:generate (default) @ discord-notifier ---
[2024-10-20T03:05:49.429Z] [INFO] 
[2024-10-20T03:05:49.432Z] [INFO] --- resources:3.3.1:resources (default-resources) @ discord-notifier ---
[2024-10-20T03:05:49.536Z] [INFO] Copying 23 resources from src\main\resources to target\classes
[2024-10-20T03:05:49.643Z] [INFO] 
[2024-10-20T03:05:49.644Z] [INFO] --- flatten:1.6.0:flatten (flatten) @ discord-notifier ---
[2024-10-20T03:05:50.056Z] [INFO] Generating flattened POM of project nz.co.jammehcow:discord-notifier:hpi:263.va_fd3a_634c15e...
[2024-10-20T03:05:50.262Z] [INFO] 
[2024-10-20T03:05:50.263Z] [INFO] --- compiler:3.13.0:compile (default-compile) @ discord-notifier ---
[2024-10-20T03:05:50.781Z] [INFO] Recompiling the module because of changed dependency.
[2024-10-20T03:05:50.784Z] [INFO] Compiling 6 source files with javac [debug parameters release 11] to target\classes
[2024-10-20T03:05:56.020Z] [INFO] nz.co.jammehcow.jenkinsdiscord.DiscordPipelineStep.DescriptorImpl indexed under hudson.Extension
[2024-10-20T03:05:56.021Z] [INFO] nz.co.jammehcow.jenkinsdiscord.WebhookPublisher.DescriptorImpl indexed under hudson.Extension
[2024-10-20T03:05:56.022Z] [INFO] /C:/Jenkins/agent/workspace/s_discord-notifier-plugin_PR-138/src/main/java/nz/co/jammehcow/jenkinsdiscord/DiscordPipelineStep.java: C:\Jenkins\agent\workspace\s_discord-notifier-plugin_PR-138\src\main\java\nz\co\jammehcow\jenkinsdiscord\DiscordPipelineStep.java uses or overrides a deprecated API.
[2024-10-20T03:05:56.023Z] [INFO] /C:/Jenkins/agent/workspace/s_discord-notifier-plugin_PR-138/src/main/java/nz/co/jammehcow/jenkinsdiscord/DiscordPipelineStep.java: Recompile with -Xlint:deprecation for details.
[2024-10-20T03:05:56.024Z] [INFO] 
[2024-10-20T03:05:56.024Z] [INFO] --- access-modifier-checker:1.33:enforce (default-enforce) @ discord-notifier ---
[2024-10-20T03:05:56.744Z] [INFO] 
[2024-10-20T03:05:56.747Z] [INFO] --- hpi:3.57:insert-test (default-insert-test) @ discord-notifier ---
[2024-10-20T03:05:56.749Z] [INFO] 
[2024-10-20T03:05:56.750Z] [INFO] --- antrun:3.1.0:run (createTempDir) @ discord-notifier ---
[2024-10-20T03:05:57.570Z] [INFO] Executing tasks
[2024-10-20T03:05:57.570Z] [INFO]     [mkdir] Created dir: C:\Jenkins\agent\workspace\s_discord-notifier-plugin_PR-138\target\tmp
[2024-10-20T03:05:57.579Z] [INFO] Executed tasks
[2024-10-20T03:05:57.579Z] [INFO] 
[2024-10-20T03:05:57.579Z] [INFO] --- resources:3.3.1:testResources (default-testResources) @ discord-notifier ---
[2024-10-20T03:05:57.579Z] [INFO] skip non existing resourceDirectory C:\Jenkins\agent\workspace\s_discord-notifier-plugin_PR-138\src\test\resources
[2024-10-20T03:05:57.628Z] [INFO] 
[2024-10-20T03:05:57.636Z] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ discord-notifier ---
[2024-10-20T03:05:57.739Z] [INFO] Recompiling the module because of changed dependency.
[2024-10-20T03:05:57.740Z] [INFO] Compiling 2 source files with javac [debug parameters release 11] to target\test-classes
[2024-10-20T03:06:00.619Z] [INFO] 
[2024-10-20T03:06:00.619Z] [INFO] --- hpi:3.57:test-hpl (default-test-hpl) @ discord-notifier ---
[2024-10-20T03:06:00.620Z] [INFO] Generating C:\Jenkins\agent\workspace\s_discord-notifier-plugin_PR-138\target\test-classes\the.hpl
[2024-10-20T03:06:03.454Z] [INFO] 
[2024-10-20T03:06:03.454Z] [INFO] --- hpi:3.57:resolve-test-dependencies (default-resolve-test-dependencies) @ discord-notifier ---
[2024-10-20T03:06:07.235Z] [INFO] 
[2024-10-20T03:06:07.236Z] [INFO] --- hpi:3.57:test-runtime (default-test-runtime) @ discord-notifier ---
[2024-10-20T03:06:07.237Z] [INFO] Setting jenkins.addOpens to --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.desktop/com.sun.beans.introspect=ALL-UNNAMED
[2024-10-20T03:06:07.237Z] [INFO] Setting jenkins.insaneHook to --patch-module='java.base=C:\Jenkins\agent\workspace\s_discord-notifier-plugin_PR-138\target\patch-modules\org-netbeans-insane-hook.jar' --add-exports=java.base/org.netbeans.insane.hook=ALL-UNNAMED
[2024-10-20T03:06:07.238Z] [INFO] 
[2024-10-20T03:06:07.238Z] [INFO] --- surefire:3.5.0:test (default-test) @ discord-notifier ---
[2024-10-20T03:06:07.650Z] [INFO] Surefire report directory: C:\Jenkins\agent\workspace\s_discord-notifier-plugin_PR-138\target\surefire-reports
[2024-10-20T03:06:07.650Z] [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[2024-10-20T03:06:07.957Z] [INFO] 
[2024-10-20T03:06:07.960Z] [INFO] -------------------------------------------------------
[2024-10-20T03:06:07.960Z] [INFO]  T E S T S
[2024-10-20T03:06:07.960Z] [INFO] -------------------------------------------------------
[2024-10-20T03:06:08.474Z] Running tests for nz.co.jammehcow:discord-notifier:263.va_fd3a_634c15e
[2024-10-20T03:06:13.934Z] Sending interrupt signal to process
[2024-10-20T03:06:13.718Z] Terminate batch job (Y/N)? 
[2024-10-20T03:06:14.585Z] script returned exit code 1

windows-17 / Build (windows-17) / 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-10-20T03:06:14.799Z] Recording test results
[2024-10-20T03:06:15.132Z] No test report files were found. Configuration error?

Details

  • linux-21 (3 ms)
    • Checkout (linux-21) (7.6 sec)
    • Build (linux-21) (54 sec)
    • Archive (linux-21) (13 sec)
      Unstable: -> Some quality gates have been missed: overall result is UNSTABLE
      Error: Static analysis quality gates not passed; halting early
  • windows-17 (1 min 22 sec)
    • Checkout (windows-17) (18 sec)
    • Build (windows-17) (1 min 0 sec)
      Error: null
      Error: No test report files were found. Configuration error?