Skip to content

BuildPiper step to find dependencies, detect the licenses of the packages in them, compare those licenses against a user-defined list of permitted licenses, and give you an actionable exception report

Notifications You must be signed in to change notification settings

OT-BUILDPIPER-MARKETPLACE/BP-LICENSE_FINDER-STEP

Repository files navigation

BP-LICENSE_FINDER-STEP

Overview

This BP step leverages License Finder

LicenseFinder works with your package managers to find dependencies, detect the licenses of the packages in them, compare those licenses against a user-defined list of permitted licenses, and give you an actionable exception report.

Setup

git submodule init
git submodule update
docker build -t ot/license_finder:0.1 .
  • Do local testing
docker run -it -v $PWD:/src -e WORKSPACE=/ -e CODEBASE_DIR=src ot/license_finder
  • Register License Finder Step in BP

  • Update your job template to leverage the BP step

    • First of all, login to your Buildpiper server.

    • Click on the Step Catalogs option.

    • Then click on the New Step option.

    Screenshot

    • Now entry the Step Name and Step Code.

    • Select the Step Category.

    Screenshot

    • Select the Step Type.

    Screenshot

    • Add the Add Mount Details and select the Mount Name from the drop down.

    Screenshot

    • Now select the Env. build data path and add the Environment Variable.

    Screenshot

    • After providing all the requried fields now click on the Save option

    • And save the Step.

Additional Info

  • License Finder Step comes with a global list of approvate licences available at Whitelisted Licenses
    • MIT
    • Apache 2.0
    • The GNU General Public License, Version 2
    • LGPL
    • GNU LESSER GENERAL PUBLIC LICENSE
    • Common Public License Version 1.0
    • CDDL + GPLv2 with classpath exception
    • GNU Lesser General Public License, version 2.1
    • Public Domain

About

BuildPiper step to find dependencies, detect the licenses of the packages in them, compare those licenses against a user-defined list of permitted licenses, and give you an actionable exception report

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published