aboutcode-org / aboutcode-org/scancode-toolkit

Dcoument CICD integration

Offen
#2,898 4 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
documentation easy must have Priority: medium
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

Do we have an example of how to integrate Scancode in CICD pipeline. My use case is that I have an allowed list of licenses that I have defined as license policy and pass it to scan code --license-policy. It adds a new tag as well. But I cannot figure out how to easily identify which files do not match my license policy and extract them from the output. The idea is to extract the files that have unapproved licenses, fail the build, submit the output json for violating files to a central logging solution like ElasticSearch. Not sure how to go about extracting the violating files details in a nice way and failing the build.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.