In this line we say we skip the license stuff if we do not find any but actually we will crash because of this.
|
$errorMessage = "~~~ SBOM: Manifests field for $($rootArtifact) does not exist! Skipping license upload ..." |
We decided we want to fail in this case so we do not accidently publish versions which do not have license file, therefore this line has to be adapted.
If possible it would be good to check if just this case crashs the hull install job in regards to licenses, since we have a few more cases.