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

Fix various SBOM creation problems #4077

Merged
merged 9 commits into from
Dec 5, 2024
Prev Previous commit
Update sbin/build.sh
Co-authored-by: Stewart X Addison <[email protected]>
andrew-m-leonard and sxa authored Dec 5, 2024
commit 5f617f828647f85b2166ef42d4f6c85563dbea9b
2 changes: 1 addition & 1 deletion sbin/build.sh
Original file line number Diff line number Diff line change
@@ -979,7 +979,7 @@ generateSBoM() {
local fullVer=$(cat "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[TARGET_DIR]}/metadata/productVersion.txt")
local fullVerOutput=$(cat "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[TARGET_DIR]}/metadata/productVersionOutput.txt")

# Create initial SBOM json
# Create initial SBOM json
createSBOMFile "${javaHome}" "${classpath}" "${sbomJson}"
# Set default SBOM metadata
addSBOMMetadata "${javaHome}" "${classpath}" "${sbomJson}"