Skip to content

Dcoument CICD integration #2898

Description

@askkhan84

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions