Skip to content

Script does not properly inform about report_status when that is not "COMPLETED". #20

@phirk

Description

@phirk

While most of my attempts to use the get-blackduck-report.sh script failed due to 403 errors (see #19) one run went further, but still failed and did not properly output the report status (shows an empty string instead).

Command

./get-blackduck-report.sh https://blackduck.philips.com <MY-BD-TOKEN> "CCoE_connectivity application sdk" "release/28.0.0.0"

Output

==============================================================
                  Create Black Duck Report
==============================================================

INFO: No report-format supplied. Defaulting to JSON report-format
./get-blackduck-report.sh: line 163: [: missing `]'
./get-blackduck-report.sh: line 163: sbom_type: command not found
+ getting bearer
| got bearer

+ getting project api base url for project: CCoE_connectivity application sdk
| got project api base url: https://blackduck.philips.com/api/projects/1e398092-8fa5-4766-ade0-668a4353e9dc

+ getting version api base url
| got version api base url: VERSIONS:
https://blackduck.philips.com/api/projects/1e398092-8fa5-4766-ade0-668a4353e9dc/versions/4c06eb22-7015-4ae3-b4f8-94e29b4ace13

+ creating SBOM report
| triggered creating SBOM report

+ getting SBOM report api base url
| attempt 1 of 50 to get SDPX report
| - report_status:
 ERROR: report_status is not COMPLETED, it is .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions