Skip to content

resolve issues identified by SpotBugs

ci.jenkins.io / Jenkins failed Aug 31, 2023 in 3m 22s

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

linux-8 / Archive (linux-8) / 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-8 / Archive (linux-8) / 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-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/epository-connector-plugin_PR-63@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false clean install.

null
Build log
[2023-08-31T16:43:39.464Z] 
[2023-08-31T16:43:39.464Z] C:\Jenkins\agent\workspace\epository-connector-plugin_PR-63>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/epository-connector-plugin_PR-63@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false clean install 
[2023-08-31T16:43:40.827Z] -XX:InitialHeapSize=268417088 -XX:MaxHeapSize=4294673408 -XX:+PrintCommandLineFlags -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:-UseLargePagesIndividualAllocation -XX:+UseParallelGC 
[2023-08-31T16:43:44.982Z] Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
[2023-08-31T16:43:44.982Z] Maven home: C:\Jenkins\agent\tools\hudson.tasks.Maven_MavenInstallation\mvn
[2023-08-31T16:43:44.982Z] Java version: 1.8.0_382, vendor: Temurin, runtime: C:\tools\jdk-8\jre
[2023-08-31T16:43:44.982Z] Default locale: en_US, platform encoding: Cp1252
[2023-08-31T16:43:44.982Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2023-08-31T16:43:46.872Z] [INFO] Error stacktraces are turned on.
[2023-08-31T16:43:46.872Z] [INFO] Scanning for projects...
[2023-08-31T16:44:04.892Z] [INFO] 
[2023-08-31T16:44:04.892Z] [INFO] ------------< org.jenkins-ci.plugins:repository-connector >-------------
[2023-08-31T16:44:04.892Z] [INFO] Building Repository Connector 2.2.2-SNAPSHOT
[2023-08-31T16:44:04.892Z] [INFO]   from pom.xml
[2023-08-31T16:44:04.892Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2023-08-31T16:44:04.893Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:validate (default-validate)'
[2023-08-31T16:44:04.893Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:validate-hpi (default-validate-hpi)'
[2023-08-31T16:44:04.893Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:initialize (default-initialize)'
[2023-08-31T16:44:04.893Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:insert-test (default-insert-test)'
[2023-08-31T16:44:04.893Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:test-hpl (default-test-hpl)'
[2023-08-31T16:44:04.893Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:resolve-test-dependencies (default-resolve-test-dependencies)'
[2023-08-31T16:44:04.893Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:test-runtime (default-test-runtime)'
[2023-08-31T16:44:04.893Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:hpi (default-hpi)'
[2023-08-31T16:44:11.485Z] Sending interrupt signal to process
[2023-08-31T16:44:31.485Z] After 20s process did not stop

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
[2023-08-31T16:44:31.679Z] Recording test results
[2023-08-31T16:44:31.811Z] No test report files were found. Configuration error?

Details

  • linux-8 (6 ms)
    • Checkout (linux-8) (9 sec)
    • Build (linux-8) (1 min 49 sec)
    • Archive (linux-8) (13 sec)
      Unstable: Some quality gates have been missed: overall result is UNSTABLE
      Error: Static analysis quality gates not passed; halting early
  • windows-8 (3 min 21 sec)
    • Checkout (windows-8) (16 sec)
    • Build (windows-8) (56 sec)
      Error: null
      Error: No test report files were found. Configuration error?