feat(exx-Pipeline): add check license 2

This commit is contained in:
Wolfram Gulde 2022-05-24 15:35:55 +02:00 committed by Marcel Feix
parent 83d16bd083
commit 1e384cbc92
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03

View File

@ -10,7 +10,7 @@
script:
- "cd $BACKEND_DIR"
- >
if [ ! -f "$VALID_LICENSE_FILE" ]; then
if [ -f "$VALID_LICENSE_FILE" ]; then
checkLicenseBom --bom $BOM_FILE --targetBom $INVALID_LICENSE_FILE --license $VALID_LICENSE_FILE || NUMBER_OF_INVALID_LICENSES=$?
fi
- >