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

add a hook to be able to overwrite the jenkins-test-harness version #724

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

add a hook to be able to overwrite the jenkins-test-harness version

ac37433
Select commit
Loading
Failed to load commit list.
Draft

add a hook to be able to overwrite the jenkins-test-harness version #724

add a hook to be able to overwrite the jenkins-test-harness version
ac37433
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Jan 24, 2025 in 6m 16s

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

linux-21 / Build (linux-21) / 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/ries_plugin-compat-tester_PR-724@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724@tmp/changelist clean install.

script returned exit code 1
Build log
[2025-01-24T08:08:49.782Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724@tmp/changelist clean install
[2025-01-24T08:08:49.883Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:+HeapDumpOnOutOfMemoryError -XX:InitialHeapSize=187499968 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=201326592 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:-ProfileInterpreter -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+UseCompressedOops -XX:+UseG1GC 
[2025-01-24T08:08:49.984Z] Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
[2025-01-24T08:08:49.985Z] Maven home: /usr/share/apache-maven-3.9.9
[2025-01-24T08:08:49.985Z] Java version: 21.0.5, vendor: Eclipse Adoptium, runtime: /opt/jdk-21
[2025-01-24T08:08:49.985Z] Default locale: en_US, platform encoding: UTF-8
[2025-01-24T08:08:49.986Z] OS name: "linux", version: "5.15.173.1-1.cm2", arch: "amd64", family: "unix"
[2025-01-24T08:08:51.992Z] [INFO] Error stacktraces are turned on.
[2025-01-24T08:08:55.199Z] [INFO] Setting: -Dchangelist=1547.v5c68c25f1a_d4 -DscmTag=5c68c25f1ad4a8395aabb630932bc3a41c635b68 -Dproject.build.outputTimestamp=2025-01-24T08:08:45Z
[2025-01-24T08:08:55.199Z] [INFO] Setting: -DgitHubRepo=mawinter69/plugin-compat-tester
[2025-01-24T08:08:55.200Z] [INFO] Scanning for projects...
[2025-01-24T08:08:57.605Z] [INFO] 
[2025-01-24T08:08:57.606Z] [INFO] -----------< org.jenkins-ci.tests:plugins-compat-tester-cli >-----------
[2025-01-24T08:08:57.606Z] [INFO] Building Plugins compatibility tester CLI 1547.v5c68c25f1a_d4
[2025-01-24T08:08:57.607Z] [INFO]   from pom.xml
[2025-01-24T08:08:57.607Z] [INFO] --------------------------------[ jar ]---------------------------------
[2025-01-24T08:08:57.607Z] [INFO] 
[2025-01-24T08:08:57.607Z] [INFO] --- help:3.5.1:evaluate (default-cli) @ plugins-compat-tester-cli ---
[2025-01-24T08:08:58.009Z] [INFO] No artifact parameter specified, using 'org.jenkins-ci.tests:plugins-compat-tester-cli:jar:1547.v5c68c25f1a_d4' as project.
[2025-01-24T08:08:58.009Z] [INFO] Result of evaluation written to: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724@tmp/changelist
[2025-01-24T08:08:58.009Z] [INFO] 
[2025-01-24T08:08:58.010Z] [INFO] -----------< org.jenkins-ci.tests:plugins-compat-tester-cli >-----------
[2025-01-24T08:08:58.010Z] [INFO] Building Plugins compatibility tester CLI 1547.v5c68c25f1a_d4
[2025-01-24T08:08:58.010Z] [INFO]   from pom.xml
[2025-01-24T08:08:58.010Z] [INFO] --------------------------------[ jar ]---------------------------------
[2025-01-24T08:08:59.013Z] [INFO] 
[2025-01-24T08:08:59.013Z] [INFO] --- clean:3.4.0:clean (default-clean) @ plugins-compat-tester-cli ---
[2025-01-24T08:08:59.013Z] [INFO] 
[2025-01-24T08:08:59.014Z] [INFO] --- buildnumber:3.2.1:create (default) @ plugins-compat-tester-cli ---
[2025-01-24T08:08:59.615Z] [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724' && 'git' 'rev-parse' '--show-prefix'
[2025-01-24T08:08:59.616Z] [INFO] Working directory: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724
[2025-01-24T08:08:59.616Z] [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724' && 'git' 'status' '--porcelain' '.'
[2025-01-24T08:08:59.616Z] [INFO] Working directory: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724
[2025-01-24T08:08:59.616Z] [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[2025-01-24T08:08:59.617Z] [INFO] Working directory: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724
[2025-01-24T08:08:59.717Z] [INFO] Storing buildNumber: 352468cedf88e4f57848d0c44aaf371391d2951e at timestamp: 1737706139584
[2025-01-24T08:08:59.718Z] [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724' && 'git' 'symbolic-ref' 'HEAD'
[2025-01-24T08:08:59.718Z] [INFO] Working directory: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724
[2025-01-24T08:08:59.718Z] [WARNING] Cannot get the branch information from the git repository: 
[2025-01-24T08:08:59.718Z] Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
[2025-01-24T08:08:59.719Z] 
[2025-01-24T08:08:59.719Z] [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[2025-01-24T08:08:59.719Z] [INFO] Working directory: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724
[2025-01-24T08:08:59.719Z] [INFO] Storing scmBranch: UNKNOWN
[2025-01-24T08:08:59.719Z] [INFO] 
[2025-01-24T08:08:59.719Z] [INFO] --- enforcer:3.5.0:enforce (display-info) @ plugins-compat-tester-cli ---
[2025-01-24T08:08:59.920Z] [INFO] Rule 0: io.jenkins.tools.incrementals.enforcer.RequireExtensionVersion passed
[2025-01-24T08:08:59.921Z] [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[2025-01-24T08:08:59.921Z] [INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2025-01-24T08:08:59.921Z] [INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2025-01-24T08:08:59.921Z] [INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps passed
[2025-01-24T08:08:59.921Z] [INFO] Rule 5: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed
[2025-01-24T08:08:59.922Z] [INFO] 
[2025-01-24T08:08:59.922Z] [INFO] --- jacoco:0.8.12:prepare-agent (default) @ plugins-compat-tester-cli ---
[2025-01-24T08:09:00.323Z] [INFO] argLine set to -javaagent:/home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724@tmp/m2repo/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/jacoco.exec
[2025-01-24T08:09:00.324Z] [INFO] 
[2025-01-24T08:09:00.324Z] [INFO] --- resources:3.3.1:resources (default-resources) @ plugins-compat-tester-cli ---
[2025-01-24T08:09:00.525Z] [INFO] Copying 1 resource from src/main/resources to target/classes
[2025-01-24T08:09:00.525Z] [INFO] 
[2025-01-24T08:09:00.525Z] [INFO] --- flatten:1.6.0:flatten (flatten) @ plugins-compat-tester-cli ---
[2025-01-24T08:09:00.525Z] [INFO] Generating flattened POM of project org.jenkins-ci.tests:plugins-compat-tester-cli:jar:1547.v5c68c25f1a_d4...
[2025-01-24T08:09:00.525Z] [INFO] 
[2025-01-24T08:09:00.526Z] [INFO] --- compiler:3.13.0:compile (default-compile) @ plugins-compat-tester-cli ---
[2025-01-24T08:09:00.727Z] [INFO] Recompiling the module because of changed source code.
[2025-01-24T08:09:00.727Z] [INFO] Compiling 48 source files with javac [debug parameters release 17] to target/classes
[2025-01-24T08:09:01.630Z] [WARNING] unknown enum constant javax.annotation.meta.When.MAYBE
[2025-01-24T08:09:01.630Z]   reason: class file for javax.annotation.meta.When not found
[2025-01-24T08:09:01.631Z] [WARNING] unknown enum constant javax.annotation.meta.When.ALWAYS
[2025-01-24T08:09:01.631Z] [WARNING] unknown enum constant javax.annotation.meta.When.UNKNOWN
[2025-01-24T08:09:01.631Z] [INFO] Writing META-INF/services/org.jenkins.tools.test.model.hook.PluginCompatTesterHookBeforeCheckout
[2025-01-24T08:09:01.631Z] [INFO] Writing META-INF/services/org.jenkins.tools.test.model.hook.PluginCompatTesterHookBeforeExecution
[2025-01-24T08:09:01.631Z] [WARNING] unknown enum constant javax.annotation.meta.When.MAYBE
[2025-01-24T08:09:01.632Z]   reason: class file for javax.annotation.meta.When not found
[2025-01-24T08:09:01.632Z] [WARNING] unknown enum constant javax.annotation.meta.When.ALWAYS
[2025-01-24T08:09:01.632Z] [WARNING] unknown enum constant javax.annotation.meta.When.UNKNOWN
[2025-01-24T08:09:01.632Z] [WARNING] unknown enum constant javax.annotation.meta.When.MAYBE
[2025-01-24T08:09:01.632Z]   reason: class file for javax.annotation.meta.When not found
[2025-01-24T08:09:01.633Z] [WARNING] unknown enum constant javax.annotation.meta.When.ALWAYS
[2025-01-24T08:09:01.633Z] [WARNING] unknown enum constant javax.annotation.meta.When.UNKNOWN
[2025-01-24T08:09:01.633Z] [INFO] /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/src/main/java/org/jenkins/tools/test/model/hook/PluginCompatTesterHooks.java: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/src/main/java/org/jenkins/tools/test/model/hook/PluginCompatTesterHooks.java uses unchecked or unsafe operations.
[2025-01-24T08:09:01.633Z] [INFO] /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/src/main/java/org/jenkins/tools/test/model/hook/PluginCompatTesterHooks.java: Recompile with -Xlint:unchecked for details.
[2025-01-24T08:09:01.633Z] [INFO] 
[2025-01-24T08:09:01.634Z] [INFO] --- resources:3.3.1:testResources (default-testResources) @ plugins-compat-tester-cli ---
[2025-01-24T08:09:01.634Z] [INFO] Copying 9 resources from src/test/resources to target/test-classes
[2025-01-24T08:09:01.634Z] [INFO] 
[2025-01-24T08:09:01.634Z] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ plugins-compat-tester-cli ---
[2025-01-24T08:09:01.634Z] [INFO] Recompiling the module because of changed dependency.
[2025-01-24T08:09:01.635Z] [INFO] Compiling 10 source files with javac [debug parameters release 17] to target/test-classes
[2025-01-24T08:09:01.936Z] [INFO] 
[2025-01-24T08:09:01.936Z] [INFO] --- hpi:3.60:resolve-test-dependencies (prepare-test-plugins) @ plugins-compat-tester-cli ---
[2025-01-24T08:09:01.936Z] [INFO] 
[2025-01-24T08:09:01.937Z] [INFO] --- dependency:3.8.1:copy (jenkins-war) @ plugins-compat-tester-cli ---
[2025-01-24T08:09:02.739Z] [INFO] Configured Artifact: org.jenkins-ci.main:jenkins-war:2.493:executable-war
[2025-01-24T08:09:04.944Z] [INFO] 
[2025-01-24T08:09:04.944Z] [INFO] --- antrun:3.1.0:run (prepare-megawar) @ plugins-compat-tester-cli ---
[2025-01-24T08:09:05.345Z] [INFO] Executing tasks
[2025-01-24T08:09:05.346Z] [INFO]     [mkdir] Created dir: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/jenkins
[2025-01-24T08:09:05.346Z] [INFO]     [unzip] Expanding: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/jenkins-war-2.493.war into /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/megawar
[2025-01-24T08:09:07.049Z] [INFO]       [jar] Updating jar: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/megawar/WEB-INF/lib/jenkins-core-2.493.jar
[2025-01-24T08:09:08.954Z] [INFO]      [copy] Copying 1 file to /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/megawar/WEB-INF/plugins
[2025-01-24T08:09:08.954Z] [INFO]    [delete] Deleting directory /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/megawar/WEB-INF/detached-plugins
[2025-01-24T08:09:08.954Z] [INFO]    [delete] Deleting: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/megawar/META-INF/JENKINS.RSA
[2025-01-24T08:09:08.955Z] [INFO]    [delete] Deleting: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/megawar/META-INF/JENKINS.SF
[2025-01-24T08:09:08.955Z] [INFO]       [war] Building war: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/megawar.war
[2025-01-24T08:09:10.959Z] [INFO] Executed tasks
[2025-01-24T08:09:10.959Z] [INFO] 
[2025-01-24T08:09:10.959Z] [INFO] --- surefire:3.5.2:test (default-test) @ plugins-compat-tester-cli ---
[2025-01-24T08:09:11.260Z] [INFO] Surefire report directory: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/surefire-reports
[2025-01-24T08:09:11.260Z] [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[2025-01-24T08:09:11.261Z] [INFO] 
[2025-01-24T08:09:11.261Z] [INFO] -------------------------------------------------------
[2025-01-24T08:09:11.261Z] [INFO]  T E S T S
[2025-01-24T08:09:11.261Z] [INFO] -------------------------------------------------------
[2025-01-24T08:09:11.963Z] [INFO] Running org.jenkins.tools.test.PluginCompatTesterTest
[2025-01-24T08:09:56.241Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.29 s -- in org.jenkins.tools.test.PluginCompatTesterTest
[2025-01-24T08:09:56.743Z] [INFO] Running org.jenkins.tools.test.PluginListerCliTest
[2025-01-24T08:09:56.944Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.227 s -- in org.jenkins.tools.test.PluginListerCliTest
[2025-01-24T08:09:57.545Z] [INFO] Running org.jenkins.tools.test.hook.JacocoHookTest
[2025-01-24T08:09:57.546Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s -- in org.jenkins.tools.test.hook.JacocoHookTest
[2025-01-24T08:09:58.047Z] [INFO] Running org.jenkins.tools.test.hook.WarningsNGExecutionHookTest
[2025-01-24T08:09:58.148Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s -- in org.jenkins.tools.test.hook.WarningsNGExecutionHookTest
[2025-01-24T08:09:58.650Z] [INFO] Running org.jenkins.tools.test.model.MavenPomTest
[2025-01-24T08:09:58.851Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 s -- in org.jenkins.tools.test.model.MavenPomTest
[2025-01-24T08:09:59.352Z] [INFO] Running org.jenkins.tools.test.model.hook.HookOrderComparatorTest
[2025-01-24T08:09:59.353Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s -- in org.jenkins.tools.test.model.hook.HookOrderComparatorTest
[2025-01-24T08:09:59.854Z] [INFO] Running org.jenkins.tools.test.model.plugin_metadata.PluginMetadataExtractorTest
[2025-01-24T08:09:59.955Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.050 s -- in org.jenkins.tools.test.model.plugin_metadata.PluginMetadataExtractorTest
[2025-01-24T08:10:00.457Z] [INFO] Running org.jenkins.tools.test.picocli.ExistingFileTypeConverterTest
[2025-01-24T08:10:00.557Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 s -- in org.jenkins.tools.test.picocli.ExistingFileTypeConverterTest
[2025-01-24T08:10:01.059Z] [INFO] Running org.jenkins.tools.test.util.ServiceHelperTest
[2025-01-24T08:10:01.160Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.050 s -- in org.jenkins.tools.test.util.ServiceHelperTest
[2025-01-24T08:10:01.661Z] [INFO] Running org.jenkins.tools.test.util.WarExtractorTest
[2025-01-24T08:10:01.762Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.128 s -- in org.jenkins.tools.test.util.WarExtractorTest
[2025-01-24T08:10:01.762Z] [INFO] 
[2025-01-24T08:10:01.762Z] [INFO] Results:
[2025-01-24T08:10:01.763Z] [INFO] 
[2025-01-24T08:10:01.763Z] [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0
[2025-01-24T08:10:01.763Z] [INFO] 
[2025-01-24T08:10:01.763Z] [INFO] 
[2025-01-24T08:10:01.763Z] [INFO] --- jar:3.4.2:jar (default-jar) @ plugins-compat-tester-cli ---
[2025-01-24T08:10:02.364Z] [INFO] Building jar: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/plugins-compat-tester-cli.jar
[2025-01-24T08:10:02.465Z] [INFO] 
[2025-01-24T08:10:02.465Z] [INFO] --- source:3.3.1:jar-no-fork (attach-sources) @ plugins-compat-tester-cli ---
[2025-01-24T08:10:02.766Z] [INFO] Building jar: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/plugins-compat-tester-cli-sources.jar
[2025-01-24T08:10:02.867Z] [INFO] 
[2025-01-24T08:10:02.867Z] [INFO] --- javadoc:3.11.2:jar (attach-javadocs) @ plugins-compat-tester-cli ---
[2025-01-24T08:10:03.369Z] [INFO] No previous run data found, generating javadoc.
[2025-01-24T08:10:04.772Z] [WARNING] Javadoc Warnings
[2025-01-24T08:10:04.772Z] [WARNING] warning: unknown enum constant When.MAYBE
[2025-01-24T08:10:04.772Z] [WARNING] reason: class file for javax.annotation.meta.When not found
[2025-01-24T08:10:04.772Z] [WARNING] warning: unknown enum constant When.ALWAYS
[2025-01-24T08:10:04.772Z] [WARNING] warning: unknown enum constant When.UNKNOWN
[2025-01-24T08:10:04.772Z] [WARNING] 3 warnings
[2025-01-24T08:10:04.772Z] [INFO] Building jar: /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/plugins-compat-tester-cli-javadoc.jar
[2025-01-24T08:10:04.773Z] [INFO] 
[2025-01-24T08:10:04.773Z] [INFO] --- shade:3.6.0:shade (default) @ plugins-compat-tester-cli ---
[2025-01-24T08:10:04.973Z] [INFO] Including com.github.spotbugs:spotbugs-annotations:jar:4.8.6 in the shaded jar.
[2025-01-24T08:10:04.974Z] [INFO] Including commons-io:commons-io:jar:2.18.0 in the shaded jar.
[2025-01-24T08:10:04.974Z] [INFO] Including commons-lang:commons-lang:jar:2.6 in the shaded jar.
[2025-01-24T08:10:04.974Z] [INFO] Including info.picocli:picocli:jar:4.7.6 in the shaded jar.
[2025-01-24T08:10:04.974Z] [INFO] Including io.jenkins.lib:support-log-formatter:jar:1.3 in the shaded jar.
[2025-01-24T08:10:04.974Z] [INFO] Including org.apache.maven:maven-model:jar:3.9.9 in the shaded jar.
[2025-01-24T08:10:04.974Z] [INFO] Including org.codehaus.plexus:plexus-utils:jar:3.5.1 in the shaded jar.
[2025-01-24T08:10:04.974Z] [INFO] Including org.dom4j:dom4j:jar:2.1.4 in the shaded jar.
[2025-01-24T08:10:04.974Z] [INFO] Including org.jenkins-ci:version-number:jar:1.12 in the shaded jar.
[2025-01-24T08:10:04.975Z] [INFO] Including org.kohsuke.metainf-services:metainf-services:jar:1.11 in the shaded jar.
[2025-01-24T08:10:04.975Z] [INFO] Including org.slf4j:slf4j-jdk14:jar:2.0.16 in the shaded jar.
[2025-01-24T08:10:04.975Z] [INFO] Including org.slf4j:slf4j-api:jar:2.0.16 in the shaded jar.
[2025-01-24T08:10:05.175Z] [WARNING] commons-io-2.18.0.jar, commons-lang-2.6.jar define 1 overlapping resource: 
[2025-01-24T08:10:05.176Z] [WARNING]   - META-INF/NOTICE.txt
[2025-01-24T08:10:05.176Z] [WARNING] maven-model-3.9.9.jar, plexus-utils-3.5.1.jar define 2 overlapping resources: 
[2025-01-24T08:10:05.176Z] [WARNING]   - META-INF/LICENSE
[2025-01-24T08:10:05.176Z] [WARNING]   - META-INF/NOTICE
[2025-01-24T08:10:05.176Z] [WARNING] commons-io-2.18.0.jar, commons-lang-2.6.jar, slf4j-api-2.0.16.jar, slf4j-jdk14-2.0.16.jar define 1 overlapping resource: 
[2025-01-24T08:10:05.176Z] [WARNING]   - META-INF/LICENSE.txt
[2025-01-24T08:10:05.176Z] [WARNING] commons-io-2.18.0.jar, picocli-4.7.6.jar define 1 overlapping classes: 
[2025-01-24T08:10:05.176Z] [WARNING]   - META-INF.versions.9.module-info
[2025-01-24T08:10:05.176Z] [WARNING] maven-shade-plugin has detected that some files are
[2025-01-24T08:10:05.177Z] [WARNING] present in two or more JARs. When this happens, only one
[2025-01-24T08:10:05.177Z] [WARNING] single version of the file is copied to the uber jar.
[2025-01-24T08:10:05.177Z] [WARNING] Usually this is not harmful and you can skip these warnings,
[2025-01-24T08:10:05.177Z] [WARNING] otherwise try to manually exclude artifacts based on
[2025-01-24T08:10:05.177Z] [WARNING] mvn dependency:tree -Ddetail=true and the above output.
[2025-01-24T08:10:05.177Z] [WARNING] See https://maven.apache.org/plugins/maven-shade-plugin/
[2025-01-24T08:10:05.177Z] [INFO] Replacing original artifact with shaded artifact.
[2025-01-24T08:10:05.178Z] [INFO] Replacing /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/plugins-compat-tester-cli.jar with /home/jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/target/plugins-compat-tester-cli-1547.v5c68c25f1a_d4-shaded.jar
[2025-01-24T08:10:05.178Z] [INFO] 
[2025-01-24T08:10:05.178Z] [INFO] >>> spotbugs:4.8.3.1:check (spotbugs) > :spotbugs @ plugins-compat-tester-cli >>>
[2025-01-24T08:10:05.178Z] [INFO] 
[2025-01-24T08:10:05.178Z] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ plugins-compat-tester-cli ---
[2025-01-24T08:10:07.182Z] [INFO] Fork Value is true
[2025-01-24T08:10:12.392Z]      [java] The following classes needed for analysis were missing:
[2025-01-24T08:10:12.392Z]      [java]   makeConcatWithConstants
[2025-01-24T08:10:12.393Z]      [java]   apply
[2025-01-24T08:10:12.393Z]      [java]   get
[2025-01-24T08:10:12.393Z]      [java]   compare
[2025-01-24T08:10:12.393Z]      [java]   test
[2025-01-24T08:10:12.393Z] [INFO] Done SpotBugs Analysis....
[2025-01-24T08:10:12.594Z] [INFO] 
[2025-01-24T08:10:12.594Z] [INFO] <<< spotbugs:4.8.3.1:check (spotbugs) < :spotbugs @ plugins-compat-tester-cli <<<
[2025-01-24T08:10:12.594Z] [INFO] 
[2025-01-24T08:10:12.594Z] [INFO] 
[2025-01-24T08:10:12.594Z] [INFO] --- spotbugs:4.8.3.1:check (spotbugs) @ plugins-compat-tester-cli ---
[2025-01-24T08:10:12.594Z] [INFO] BugInstance size is 0
[2025-01-24T08:10:12.594Z] [INFO] Error size is 0
[2025-01-24T08:10:12.594Z] [INFO] No errors/warnings found
[2025-01-24T08:10:12.594Z] [INFO] 
[2025-01-24T08:10:12.595Z] [INFO] --- spotless:2.44.1:check (default) @ plugins-compat-tester-cli ---
[2025-01-24T08:10:14.899Z] [INFO] Index file does not exist. Fallback to an empty index
[2025-01-24T08:10:15.601Z] [INFO] Spotless.Java is keeping 58 files clean - 1 needs changes to be clean, 57 were already clean, 0 were skipped because caching determined they were already clean
[2025-01-24T08:10:15.601Z] [INFO] ------------------------------------------------------------------------
[2025-01-24T08:10:15.601Z] [INFO] BUILD FAILURE
[2025-01-24T08:10:15.601Z] [INFO] ------------------------------------------------------------------------
[2025-01-24T08:10:15.702Z] [INFO] Total time:  01:23 min
[2025-01-24T08:10:15.702Z] [INFO] Finished at: 2025-01-24T08:10:15Z
[2025-01-24T08:10:15.703Z] [INFO] ------------------------------------------------------------------------
[2025-01-24T08:10:15.703Z] [ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.44.1:check (default) on project plugins-compat-tester-cli: The following files had format violations:
[2025-01-24T08:10:15.703Z] [ERROR]     src/main/java/org/jenkins/tools/test/hook/JenkinsTestHarnessHook.java
[2025-01-24T08:10:15.703Z] [ERROR]         @@ -15,5 +15,4 @@
[2025-01-24T08:10:15.703Z] [ERROR]          ····public·String·getMinimumVersion()·{
[2025-01-24T08:10:15.703Z] [ERROR]          ········return·"1";
[2025-01-24T08:10:15.703Z] [ERROR]          ····}
[2025-01-24T08:10:15.703Z] [ERROR]         -
[2025-01-24T08:10:15.703Z] [ERROR]          }
[2025-01-24T08:10:15.703Z] [ERROR] Run 'mvn spotless:apply' to fix these violations.
[2025-01-24T08:10:15.703Z] [ERROR] -> [Help 1]
[2025-01-24T08:10:15.703Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.44.1:check (default) on project plugins-compat-tester-cli: The following files had format violations:
[2025-01-24T08:10:15.704Z]     src/main/java/org/jenkins/tools/test/hook/JenkinsTestHarnessHook.java
[2025-01-24T08:10:15.704Z]         @@ -15,5 +15,4 @@
[2025-01-24T08:10:15.704Z]          ····public·String·getMinimumVersion()·{
[2025-01-24T08:10:15.704Z]          ········return·"1";
[2025-01-24T08:10:15.704Z]          ····}
[2025-01-24T08:10:15.704Z]         -
[2025-01-24T08:10:15.704Z]          }
[2025-01-24T08:10:15.704Z] Run 'mvn spotless:apply' to fix these violations.
[2025-01-24T08:10:15.704Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
[2025-01-24T08:10:15.704Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2025-01-24T08:10:15.704Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2025-01-24T08:10:15.704Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2025-01-24T08:10:15.704Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2025-01-24T08:10:15.705Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2025-01-24T08:10:15.705Z]     at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
[2025-01-24T08:10:15.706Z]     at java.lang.reflect.Method.invoke (Method.java:580)
[2025-01-24T08:10:15.706Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2025-01-24T08:10:15.706Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2025-01-24T08:10:15.706Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2025-01-24T08:10:15.706Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2025-01-24T08:10:15.706Z] Caused by: org.apache.maven.plugin.MojoExecutionException: The following files had format violations:
[2025-01-24T08:10:15.706Z]     src/main/java/org/jenkins/tools/test/hook/JenkinsTestHarnessHook.java
[2025-01-24T08:10:15.706Z]         @@ -15,5 +15,4 @@
[2025-01-24T08:10:15.706Z]          ····public·String·getMinimumVersion()·{
[2025-01-24T08:10:15.706Z]          ········return·"1";
[2025-01-24T08:10:15.706Z]          ····}
[2025-01-24T08:10:15.706Z]         -
[2025-01-24T08:10:15.706Z]          }
[2025-01-24T08:10:15.706Z] Run 'mvn spotless:apply' to fix these violations.
[2025-01-24T08:10:15.707Z]     at com.diffplug.spotless.maven.SpotlessCheckMojo.process (SpotlessCheckMojo.java:111)
[2025-01-24T08:10:15.707Z]     at com.diffplug.spotless.maven.AbstractSpotlessMojo.execute (AbstractSpotlessMojo.java:255)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2025-01-24T08:10:15.707Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2025-01-24T08:10:15.708Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2025-01-24T08:10:15.708Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2025-01-24T08:10:15.708Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2025-01-24T08:10:15.708Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2025-01-24T08:10:15.708Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2025-01-24T08:10:15.708Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2025-01-24T08:10:15.708Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2025-01-24T08:10:15.708Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2025-01-24T08:10:15.708Z]     at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
[2025-01-24T08:10:15.708Z]     at java.lang.reflect.Method.invoke (Method.java:580)
[2025-01-24T08:10:15.708Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2025-01-24T08:10:15.708Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2025-01-24T08:10:15.708Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2025-01-24T08:10:15.708Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2025-01-24T08:10:15.708Z] [ERROR] 
[2025-01-24T08:10:15.709Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2025-01-24T08:10:15.709Z] [ERROR] 
[2025-01-24T08:10:15.709Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2025-01-24T08:10:15.709Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

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/ries_plugin-compat-tester_PR-724@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist clean install.

script returned exit code 1
Build log
[2025-01-24T08:10:32.151Z] 
[2025-01-24T08:10:32.152Z] C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/ries_plugin-compat-tester_PR-724@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist clean install 
[2025-01-24T08:10:32.259Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:+HeapDumpOnOutOfMemoryError -XX:InitialHeapSize=201326592 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=201326592 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:-ProfileInterpreter -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation 
[2025-01-24T08:10:35.391Z] Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
[2025-01-24T08:10:35.391Z] Maven home: C:\tools\apache-maven-3.9.9
[2025-01-24T08:10:35.391Z] Java version: 17.0.13, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-17
[2025-01-24T08:10:35.391Z] Default locale: en_US, platform encoding: Cp1252
[2025-01-24T08:10:35.393Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2025-01-24T08:10:42.632Z] [INFO] Error stacktraces are turned on.
[2025-01-24T08:10:42.940Z] [INFO] Setting: -Dchangelist=1547.vb_4a_346ca_6933 -DscmTag=b4a346ca693304ec8e913301316863c949397eba -Dproject.build.outputTimestamp=2025-01-24T08:10:27Z
[2025-01-24T08:10:42.940Z] [INFO] Setting: -DgitHubRepo=mawinter69/plugin-compat-tester
[2025-01-24T08:10:42.941Z] [INFO] Scanning for projects...
[2025-01-24T08:10:56.663Z] [INFO] 
[2025-01-24T08:10:56.664Z] [INFO] -----------< org.jenkins-ci.tests:plugins-compat-tester-cli >-----------
[2025-01-24T08:10:56.664Z] [INFO] Building Plugins compatibility tester CLI 1547.vb_4a_346ca_6933
[2025-01-24T08:10:56.664Z] [INFO]   from pom.xml
[2025-01-24T08:10:56.664Z] [INFO] --------------------------------[ jar ]---------------------------------
[2025-01-24T08:11:02.028Z] [INFO] 
[2025-01-24T08:11:02.028Z] [INFO] --- clean:3.4.0:clean (default-clean) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:02.136Z] [INFO] 
[2025-01-24T08:11:02.136Z] [INFO] --- buildnumber:3.2.1:create (default) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:05.749Z] [INFO] Executing: cmd.exe /X /C "git rev-parse --show-prefix"
[2025-01-24T08:11:05.749Z] [INFO] Working directory: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724
[2025-01-24T08:11:05.749Z] [INFO] Executing: cmd.exe /X /C "git status --porcelain ."
[2025-01-24T08:11:05.750Z] [INFO] Working directory: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724
[2025-01-24T08:11:05.865Z] [INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI %aE %aN""
[2025-01-24T08:11:05.865Z] [INFO] Working directory: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724
[2025-01-24T08:11:05.866Z] [INFO] Storing buildNumber: 352468cedf88e4f57848d0c44aaf371391d2951e at timestamp: 1737706265630
[2025-01-24T08:11:05.866Z] [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[2025-01-24T08:11:05.866Z] [INFO] Working directory: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724
[2025-01-24T08:11:05.978Z] [WARNING] Cannot get the branch information from the git repository: 
[2025-01-24T08:11:05.978Z] Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
[2025-01-24T08:11:05.978Z] 
[2025-01-24T08:11:05.979Z] [INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI %aE %aN""
[2025-01-24T08:11:05.979Z] [INFO] Working directory: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724
[2025-01-24T08:11:05.979Z] [INFO] Storing scmBranch: UNKNOWN
[2025-01-24T08:11:05.979Z] [INFO] 
[2025-01-24T08:11:05.979Z] [INFO] --- enforcer:3.5.0:enforce (display-info) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:06.703Z] [INFO] Rule 0: io.jenkins.tools.incrementals.enforcer.RequireExtensionVersion passed
[2025-01-24T08:11:06.703Z] [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[2025-01-24T08:11:06.704Z] [INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2025-01-24T08:11:06.704Z] [INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2025-01-24T08:11:06.704Z] [INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps passed
[2025-01-24T08:11:06.918Z] [INFO] Rule 5: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed
[2025-01-24T08:11:06.918Z] [INFO] 
[2025-01-24T08:11:06.918Z] [INFO] --- resources:3.3.1:resources (default-resources) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:07.332Z] [INFO] Copying 1 resource from src\main\resources to target\classes
[2025-01-24T08:11:07.332Z] [INFO] 
[2025-01-24T08:11:07.332Z] [INFO] --- flatten:1.6.0:flatten (flatten) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:07.444Z] [INFO] Generating flattened POM of project org.jenkins-ci.tests:plugins-compat-tester-cli:jar:1547.vb_4a_346ca_6933...
[2025-01-24T08:11:07.561Z] [INFO] 
[2025-01-24T08:11:07.561Z] [INFO] --- compiler:3.13.0:compile (default-compile) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:08.584Z] [INFO] Recompiling the module because of changed dependency.
[2025-01-24T08:11:08.584Z] [INFO] Compiling 48 source files with javac [debug parameters release 17] to target\classes
[2025-01-24T08:11:11.627Z] [WARNING] unknown enum constant javax.annotation.meta.When.MAYBE
[2025-01-24T08:11:11.628Z]   reason: class file for javax.annotation.meta.When not found
[2025-01-24T08:11:11.628Z] [WARNING] unknown enum constant javax.annotation.meta.When.ALWAYS
[2025-01-24T08:11:11.628Z] [WARNING] unknown enum constant javax.annotation.meta.When.UNKNOWN
[2025-01-24T08:11:11.628Z] [INFO] Writing META-INF/services/org.jenkins.tools.test.model.hook.PluginCompatTesterHookBeforeCheckout
[2025-01-24T08:11:11.628Z] [INFO] Writing META-INF/services/org.jenkins.tools.test.model.hook.PluginCompatTesterHookBeforeExecution
[2025-01-24T08:11:11.628Z] [WARNING] unknown enum constant javax.annotation.meta.When.MAYBE
[2025-01-24T08:11:11.629Z]   reason: class file for javax.annotation.meta.When not found
[2025-01-24T08:11:11.629Z] [WARNING] unknown enum constant javax.annotation.meta.When.ALWAYS
[2025-01-24T08:11:11.629Z] [WARNING] unknown enum constant javax.annotation.meta.When.UNKNOWN
[2025-01-24T08:11:11.629Z] [WARNING] unknown enum constant javax.annotation.meta.When.MAYBE
[2025-01-24T08:11:11.629Z]   reason: class file for javax.annotation.meta.When not found
[2025-01-24T08:11:11.630Z] [WARNING] unknown enum constant javax.annotation.meta.When.ALWAYS
[2025-01-24T08:11:11.630Z] [WARNING] unknown enum constant javax.annotation.meta.When.UNKNOWN
[2025-01-24T08:11:11.630Z] [INFO] /C:/Jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/src/main/java/org/jenkins/tools/test/model/hook/PluginCompatTesterHooks.java: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\src\main\java\org\jenkins\tools\test\model\hook\PluginCompatTesterHooks.java uses unchecked or unsafe operations.
[2025-01-24T08:11:11.630Z] [INFO] /C:/Jenkins/agent/workspace/ries_plugin-compat-tester_PR-724/src/main/java/org/jenkins/tools/test/model/hook/PluginCompatTesterHooks.java: Recompile with -Xlint:unchecked for details.
[2025-01-24T08:11:11.630Z] [INFO] 
[2025-01-24T08:11:11.630Z] [INFO] --- resources:3.3.1:testResources (default-testResources) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:11.631Z] [INFO] Copying 9 resources from src\test\resources to target\test-classes
[2025-01-24T08:11:11.631Z] [INFO] 
[2025-01-24T08:11:11.631Z] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:11.631Z] [INFO] Recompiling the module because of changed dependency.
[2025-01-24T08:11:11.632Z] [INFO] Compiling 10 source files with javac [debug parameters release 17] to target\test-classes
[2025-01-24T08:11:12.456Z] [INFO] 
[2025-01-24T08:11:12.456Z] [INFO] --- hpi:3.60:resolve-test-dependencies (prepare-test-plugins) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:13.180Z] [INFO] 
[2025-01-24T08:11:13.181Z] [INFO] --- dependency:3.8.1:copy (jenkins-war) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:17.857Z] [INFO] Configured Artifact: org.jenkins-ci.main:jenkins-war:2.493:executable-war
[2025-01-24T08:11:19.684Z] [INFO] 
[2025-01-24T08:11:19.685Z] [INFO] --- antrun:3.1.0:run (prepare-megawar) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:20.606Z] [INFO] Executing tasks
[2025-01-24T08:11:20.606Z] [INFO]     [mkdir] Created dir: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\jenkins
[2025-01-24T08:11:20.607Z] [INFO]     [unzip] Expanding: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\jenkins-war-2.493.war into C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\megawar
[2025-01-24T08:11:22.936Z] [INFO]       [jar] Updating jar: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\megawar\WEB-INF\lib\jenkins-core-2.493.jar
[2025-01-24T08:11:24.967Z] [INFO]      [copy] Copying 1 file to C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\megawar\WEB-INF\plugins
[2025-01-24T08:11:25.081Z] [INFO]    [delete] Deleting directory C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\megawar\WEB-INF\detached-plugins
[2025-01-24T08:11:25.081Z] [INFO]    [delete] Deleting: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\megawar\META-INF\JENKINS.RSA
[2025-01-24T08:11:25.081Z] [INFO]    [delete] Deleting: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\megawar\META-INF\JENKINS.SF
[2025-01-24T08:11:25.194Z] [INFO]       [war] Building war: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\megawar.war
[2025-01-24T08:11:34.297Z] [INFO] Executed tasks
[2025-01-24T08:11:34.298Z] [INFO] 
[2025-01-24T08:11:34.298Z] [INFO] --- surefire:3.5.2:test (default-test) @ plugins-compat-tester-cli ---
[2025-01-24T08:11:35.120Z] [INFO] Surefire report directory: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\surefire-reports
[2025-01-24T08:11:35.120Z] [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[2025-01-24T08:11:35.636Z] [INFO] 
[2025-01-24T08:11:35.636Z] [INFO] -------------------------------------------------------
[2025-01-24T08:11:35.636Z] [INFO]  T E S T S
[2025-01-24T08:11:35.636Z] [INFO] -------------------------------------------------------
[2025-01-24T08:11:36.667Z] [INFO] Running org.jenkins.tools.test.PluginCompatTesterTest
[2025-01-24T08:13:55.958Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 139.3 s -- in org.jenkins.tools.test.PluginCompatTesterTest
[2025-01-24T08:13:57.290Z] [INFO] Running org.jenkins.tools.test.PluginListerCliTest
[2025-01-24T08:13:57.609Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.251 s -- in org.jenkins.tools.test.PluginListerCliTest
[2025-01-24T08:13:58.026Z] [INFO] Running org.jenkins.tools.test.hook.JacocoHookTest
[2025-01-24T08:13:58.138Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 s -- in org.jenkins.tools.test.hook.JacocoHookTest
[2025-01-24T08:13:58.556Z] [INFO] Running org.jenkins.tools.test.hook.WarningsNGExecutionHookTest
[2025-01-24T08:13:58.669Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 s -- in org.jenkins.tools.test.hook.WarningsNGExecutionHookTest
[2025-01-24T08:13:59.088Z] [INFO] Running org.jenkins.tools.test.model.MavenPomTest
[2025-01-24T08:13:59.303Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.210 s -- in org.jenkins.tools.test.model.MavenPomTest
[2025-01-24T08:13:59.822Z] [INFO] Running org.jenkins.tools.test.model.hook.HookOrderComparatorTest
[2025-01-24T08:13:59.822Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 s -- in org.jenkins.tools.test.model.hook.HookOrderComparatorTest
[2025-01-24T08:14:00.346Z] [INFO] Running org.jenkins.tools.test.model.plugin_metadata.PluginMetadataExtractorTest
[2025-01-24T08:14:00.346Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 s -- in org.jenkins.tools.test.model.plugin_metadata.PluginMetadataExtractorTest
[2025-01-24T08:14:00.864Z] [INFO] Running org.jenkins.tools.test.picocli.ExistingFileTypeConverterTest
[2025-01-24T08:14:00.864Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 s -- in org.jenkins.tools.test.picocli.ExistingFileTypeConverterTest
[2025-01-24T08:14:01.379Z] [INFO] Running org.jenkins.tools.test.util.ServiceHelperTest
[2025-01-24T08:14:01.495Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 s -- in org.jenkins.tools.test.util.ServiceHelperTest
[2025-01-24T08:14:01.911Z] [INFO] Running org.jenkins.tools.test.util.WarExtractorTest
[2025-01-24T08:14:02.024Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 s -- in org.jenkins.tools.test.util.WarExtractorTest
[2025-01-24T08:14:02.024Z] [INFO] 
[2025-01-24T08:14:02.024Z] [INFO] Results:
[2025-01-24T08:14:02.024Z] [INFO] 
[2025-01-24T08:14:02.024Z] [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0
[2025-01-24T08:14:02.024Z] [INFO] 
[2025-01-24T08:14:02.025Z] [INFO] 
[2025-01-24T08:14:02.025Z] [INFO] --- jar:3.4.2:jar (default-jar) @ plugins-compat-tester-cli ---
[2025-01-24T08:14:03.257Z] [INFO] Building jar: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\plugins-compat-tester-cli.jar
[2025-01-24T08:14:03.368Z] [INFO] 
[2025-01-24T08:14:03.368Z] [INFO] --- source:3.3.1:jar-no-fork (attach-sources) @ plugins-compat-tester-cli ---
[2025-01-24T08:14:04.394Z] [INFO] Building jar: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\plugins-compat-tester-cli-sources.jar
[2025-01-24T08:14:04.605Z] [INFO] 
[2025-01-24T08:14:04.605Z] [INFO] --- javadoc:3.11.2:jar (attach-javadocs) @ plugins-compat-tester-cli ---
[2025-01-24T08:14:05.829Z] [INFO] No previous run data found, generating javadoc.
[2025-01-24T08:14:09.680Z] [WARNING] Javadoc Warnings
[2025-01-24T08:14:09.680Z] [WARNING] warning: unknown enum constant When.MAYBE
[2025-01-24T08:14:09.691Z] [WARNING] reason: class file for javax.annotation.meta.When not found
[2025-01-24T08:14:09.697Z] [WARNING] warning: unknown enum constant When.ALWAYS
[2025-01-24T08:14:09.697Z] [WARNING] warning: unknown enum constant When.UNKNOWN
[2025-01-24T08:14:09.697Z] [WARNING] 3 warnings
[2025-01-24T08:14:09.847Z] [INFO] Building jar: C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\plugins-compat-tester-cli-javadoc.jar
[2025-01-24T08:14:10.306Z] [INFO] 
[2025-01-24T08:14:10.307Z] [INFO] --- shade:3.6.0:shade (default) @ plugins-compat-tester-cli ---
[2025-01-24T08:14:10.726Z] [INFO] Including com.github.spotbugs:spotbugs-annotations:jar:4.8.6 in the shaded jar.
[2025-01-24T08:14:10.726Z] [INFO] Including commons-io:commons-io:jar:2.18.0 in the shaded jar.
[2025-01-24T08:14:10.726Z] [INFO] Including commons-lang:commons-lang:jar:2.6 in the shaded jar.
[2025-01-24T08:14:10.728Z] [INFO] Including info.picocli:picocli:jar:4.7.6 in the shaded jar.
[2025-01-24T08:14:10.728Z] [INFO] Including io.jenkins.lib:support-log-formatter:jar:1.3 in the shaded jar.
[2025-01-24T08:14:10.728Z] [INFO] Including org.apache.maven:maven-model:jar:3.9.9 in the shaded jar.
[2025-01-24T08:14:10.728Z] [INFO] Including org.codehaus.plexus:plexus-utils:jar:3.5.1 in the shaded jar.
[2025-01-24T08:14:10.728Z] [INFO] Including org.dom4j:dom4j:jar:2.1.4 in the shaded jar.
[2025-01-24T08:14:10.728Z] [INFO] Including org.jenkins-ci:version-number:jar:1.12 in the shaded jar.
[2025-01-24T08:14:10.728Z] [INFO] Including org.kohsuke.metainf-services:metainf-services:jar:1.11 in the shaded jar.
[2025-01-24T08:14:10.728Z] [INFO] Including org.slf4j:slf4j-jdk14:jar:2.0.16 in the shaded jar.
[2025-01-24T08:14:10.729Z] [INFO] Including org.slf4j:slf4j-api:jar:2.0.16 in the shaded jar.
[2025-01-24T08:14:10.942Z] [WARNING] commons-io-2.18.0.jar, commons-lang-2.6.jar, slf4j-api-2.0.16.jar, slf4j-jdk14-2.0.16.jar define 1 overlapping resource: 
[2025-01-24T08:14:10.942Z] [WARNING]   - META-INF/LICENSE.txt
[2025-01-24T08:14:10.942Z] [WARNING] commons-io-2.18.0.jar, commons-lang-2.6.jar define 1 overlapping resource: 
[2025-01-24T08:14:10.942Z] [WARNING]   - META-INF/NOTICE.txt
[2025-01-24T08:14:10.942Z] [WARNING] maven-model-3.9.9.jar, plexus-utils-3.5.1.jar define 2 overlapping resources: 
[2025-01-24T08:14:10.942Z] [WARNING]   - META-INF/LICENSE
[2025-01-24T08:14:10.942Z] [WARNING]   - META-INF/NOTICE
[2025-01-24T08:14:10.942Z] [WARNING] commons-io-2.18.0.jar, picocli-4.7.6.jar define 1 overlapping classes: 
[2025-01-24T08:14:10.942Z] [WARNING]   - META-INF.versions.9.module-info
[2025-01-24T08:14:10.943Z] [WARNING] maven-shade-plugin has detected that some files are
[2025-01-24T08:14:10.943Z] [WARNING] present in two or more JARs. When this happens, only one
[2025-01-24T08:14:10.943Z] [WARNING] single version of the file is copied to the uber jar.
[2025-01-24T08:14:10.943Z] [WARNING] Usually this is not harmful and you can skip these warnings,
[2025-01-24T08:14:10.943Z] [WARNING] otherwise try to manually exclude artifacts based on
[2025-01-24T08:14:10.943Z] [WARNING] mvn dependency:tree -Ddetail=true and the above output.
[2025-01-24T08:14:10.943Z] [WARNING] See https://maven.apache.org/plugins/maven-shade-plugin/
[2025-01-24T08:14:10.944Z] [INFO] Replacing original artifact with shaded artifact.
[2025-01-24T08:14:10.944Z] [INFO] Replacing C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\plugins-compat-tester-cli.jar with C:\Jenkins\agent\workspace\ries_plugin-compat-tester_PR-724\target\plugins-compat-tester-cli-1547.vb_4a_346ca_6933-shaded.jar
[2025-01-24T08:14:10.944Z] [INFO] 
[2025-01-24T08:14:10.944Z] [INFO] >>> spotbugs:4.8.3.1:check (spotbugs) > :spotbugs @ plugins-compat-tester-cli >>>
[2025-01-24T08:14:11.056Z] [INFO] 
[2025-01-24T08:14:11.056Z] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ plugins-compat-tester-cli ---
[2025-01-24T08:14:21.959Z] [INFO] Fork Value is true
[2025-01-24T08:14:32.895Z]      [java] The following classes needed for analysis were missing:
[2025-01-24T08:14:32.895Z]      [java]   makeConcatWithConstants
[2025-01-24T08:14:32.895Z]      [java]   apply
[2025-01-24T08:14:32.895Z]      [java]   get
[2025-01-24T08:14:32.896Z]      [java]   compare
[2025-01-24T08:14:32.896Z]      [java]   test
[2025-01-24T08:14:33.008Z] [INFO] Done SpotBugs Analysis....
[2025-01-24T08:14:33.221Z] [INFO] 
[2025-01-24T08:14:33.221Z] [INFO] <<< spotbugs:4.8.3.1:check (spotbugs) < :spotbugs @ plugins-compat-tester-cli <<<
[2025-01-24T08:14:33.221Z] [INFO] 
[2025-01-24T08:14:33.221Z] [INFO] 
[2025-01-24T08:14:33.221Z] [INFO] --- spotbugs:4.8.3.1:check (spotbugs) @ plugins-compat-tester-cli ---
[2025-01-24T08:14:33.222Z] [INFO] BugInstance size is 0
[2025-01-24T08:14:33.222Z] [INFO] Error size is 0
[2025-01-24T08:14:33.222Z] [INFO] No errors/warnings found
[2025-01-24T08:14:33.222Z] [INFO] 
[2025-01-24T08:14:33.222Z] [INFO] --- spotless:2.44.1:check (default) @ plugins-compat-tester-cli ---
[2025-01-24T08:14:38.096Z] [INFO] Index file does not exist. Fallback to an empty index
[2025-01-24T08:14:38.926Z] [INFO] Spotless.Java is keeping 58 files clean - 1 needs changes to be clean, 57 were already clean, 0 were skipped because caching determined they were already clean
[2025-01-24T08:14:38.926Z] [INFO] ------------------------------------------------------------------------
[2025-01-24T08:14:38.926Z] [INFO] BUILD FAILURE
[2025-01-24T08:14:38.926Z] [INFO] ------------------------------------------------------------------------
[2025-01-24T08:14:38.926Z] [INFO] Total time:  03:56 min
[2025-01-24T08:14:38.927Z] [INFO] Finished at: 2025-01-24T08:14:38Z
[2025-01-24T08:14:38.927Z] [INFO] ------------------------------------------------------------------------
[2025-01-24T08:14:38.927Z] [ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.44.1:check (default) on project plugins-compat-tester-cli: The following files had format violations:
[2025-01-24T08:14:38.927Z] [ERROR]     src\main\java\org\jenkins\tools\test\hook\JenkinsTestHarnessHook.java
[2025-01-24T08:14:38.927Z] [ERROR]         @@ -15,5 +15,4 @@
[2025-01-24T08:14:38.927Z] [ERROR]          ····public·String·getMinimumVersion()·{
[2025-01-24T08:14:38.927Z] [ERROR]          ········return·"1";
[2025-01-24T08:14:38.927Z] [ERROR]          ····}
[2025-01-24T08:14:38.927Z] [ERROR]         -
[2025-01-24T08:14:38.928Z] [ERROR]          }
[2025-01-24T08:14:38.928Z] [ERROR] Run 'mvn spotless:apply' to fix these violations.
[2025-01-24T08:14:38.928Z] [ERROR] -> [Help 1]
[2025-01-24T08:14:38.928Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.44.1:check (default) on project plugins-compat-tester-cli: The following files had format violations:
[2025-01-24T08:14:38.928Z]     src\main\java\org\jenkins\tools\test\hook\JenkinsTestHarnessHook.java
[2025-01-24T08:14:38.928Z]         @@ -15,5 +15,4 @@
[2025-01-24T08:14:38.928Z]          ····public·String·getMinimumVersion()·{
[2025-01-24T08:14:38.928Z]          ········return·"1";
[2025-01-24T08:14:38.928Z]          ····}
[2025-01-24T08:14:38.929Z]         -
[2025-01-24T08:14:38.929Z]          }
[2025-01-24T08:14:38.929Z] Run 'mvn spotless:apply' to fix these violations.
[2025-01-24T08:14:38.929Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
[2025-01-24T08:14:38.929Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2025-01-24T08:14:38.929Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2025-01-24T08:14:38.929Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2025-01-24T08:14:38.929Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2025-01-24T08:14:38.929Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2025-01-24T08:14:38.929Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2025-01-24T08:14:38.929Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2025-01-24T08:14:38.929Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2025-01-24T08:14:38.930Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2025-01-24T08:14:38.930Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2025-01-24T08:14:38.930Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2025-01-24T08:14:38.930Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2025-01-24T08:14:38.930Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2025-01-24T08:14:38.930Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2025-01-24T08:14:38.930Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2025-01-24T08:14:38.930Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2025-01-24T08:14:38.930Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2025-01-24T08:14:38.931Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2025-01-24T08:14:38.931Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
[2025-01-24T08:14:38.931Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2025-01-24T08:14:38.931Z]     at java.lang.reflect.Method.invoke (Method.java:569)
[2025-01-24T08:14:38.931Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2025-01-24T08:14:38.931Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2025-01-24T08:14:38.931Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2025-01-24T08:14:38.931Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2025-01-24T08:14:38.931Z] Caused by: org.apache.maven.plugin.MojoExecutionException: The following files had format violations:
[2025-01-24T08:14:38.931Z]     src\main\java\org\jenkins\tools\test\hook\JenkinsTestHarnessHook.java
[2025-01-24T08:14:38.932Z]         @@ -15,5 +15,4 @@
[2025-01-24T08:14:38.932Z]          ····public·String·getMinimumVersion()·{
[2025-01-24T08:14:38.932Z]          ········return·"1";
[2025-01-24T08:14:38.932Z]          ····}
[2025-01-24T08:14:38.933Z]         -
[2025-01-24T08:14:38.933Z]          }
[2025-01-24T08:14:38.933Z] Run 'mvn spotless:apply' to fix these violations.
[2025-01-24T08:14:38.933Z]     at com.diffplug.spotless.maven.SpotlessCheckMojo.process (SpotlessCheckMojo.java:111)
[2025-01-24T08:14:38.933Z]     at com.diffplug.spotless.maven.AbstractSpotlessMojo.execute (AbstractSpotlessMojo.java:255)
[2025-01-24T08:14:38.933Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
[2025-01-24T08:14:38.933Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
[2025-01-24T08:14:38.933Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2025-01-24T08:14:38.933Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2025-01-24T08:14:38.933Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2025-01-24T08:14:38.933Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2025-01-24T08:14:38.933Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2025-01-24T08:14:38.934Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2025-01-24T08:14:38.934Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2025-01-24T08:14:38.934Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2025-01-24T08:14:38.934Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2025-01-24T08:14:38.934Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2025-01-24T08:14:38.934Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2025-01-24T08:14:38.934Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2025-01-24T08:14:38.934Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2025-01-24T08:14:38.934Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2025-01-24T08:14:38.934Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2025-01-24T08:14:38.935Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2025-01-24T08:14:38.935Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2025-01-24T08:14:38.935Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2025-01-24T08:14:38.935Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
[2025-01-24T08:14:38.935Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2025-01-24T08:14:38.935Z]     at java.lang.reflect.Method.invoke (Method.java:569)
[2025-01-24T08:14:38.935Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2025-01-24T08:14:38.935Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2025-01-24T08:14:38.936Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2025-01-24T08:14:38.936Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2025-01-24T08:14:38.936Z] [ERROR] 
[2025-01-24T08:14:38.936Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2025-01-24T08:14:38.936Z] [ERROR] 
[2025-01-24T08:14:38.936Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2025-01-24T08:14:38.936Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Details

  • linux-21 (2 ms)
    • Checkout (linux-21) (9.5 sec)
    • Build (linux-21) (1 min 32 sec)
      Error: script returned exit code 1
  • windows-17 (6 min 16 sec)
    • Checkout (windows-17) (18 sec)
    • Build (windows-17) (4 min 11 sec)
      Error: script returned exit code 1