We get an error:
[DependencyTrack] An error occurred processing artifact "/opt/jenkins/workspace/NDR_DTRACK/dtrack-dotnet6/dep-track/bom.xml". Error was: Input length = 1
Environment
Plugin Version:
OWASP Dependency-Track Version 4.1.1
Jenkins Version:
Jenkins 2.375
Java Version for Jenkins:
openjdk 11.0.2 2019-01-15 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.2+7-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+7-LTS, mixed mode, sharing)
Type of Jenkins Job: classic | declarative pipeline | scripted pipeline
declarative pipeline
Describe the bug
From jenkins stage:
We get an error:
[DependencyTrack] An error occurred processing artifact "/opt/jenkins/workspace/NDR_DTRACK/dtrack-dotnet6/dep-track/bom.xml". Error was: Input length = 1
Environment
OWASP Dependency-Track Version 4.1.1
Jenkins 2.375
declarative pipeline
Dependency-Track v4.7.0
Expected behavior
Expect to upload bom file without errors.