X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=12671972227de9159cc4b82db71c0ec31b94637c;hb=5fbc7e5d91972c465b940e1ce0aa1e25d6b66e5e;hp=3db4c2bcbb64e6c0eabbaa460623f5224d873442;hpb=6e723f6df2c8bde1a07378f2889c17d59e2727d0;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 3db4c2bc..12671972 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -10,6 +10,19 @@ - inject: properties-file: $WORKSPACE/.dependency.properties +- builder: + name: lf-license-check + builders: + - inject: + properties-content: | + FILE_PATTERNS={file-patterns} + SPDX_DISABLE={spdx-disable} + LHC_VERSION={lhc-version} + LICENSE_EXCLUDE_PATHS={license-exclude-paths} + LICENSES_ALLOWED={licenses-allowed} + - shell: !include-raw-escape: + - ../shell/license-check.sh + - builder: name: lf-infra-create-netrc builders: