From 1e384cbc923b40f4a647c296a894e0302a7bd43d Mon Sep 17 00:00:00 2001 From: Wolfram Gulde Date: Tue, 24 May 2022 15:35:55 +0200 Subject: [PATCH] feat(exx-Pipeline): add check license 2 --- templates/license/license.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/license/license.gitlab-ci.yml b/templates/license/license.gitlab-ci.yml index e691ea5..3b799aa 100644 --- a/templates/license/license.gitlab-ci.yml +++ b/templates/license/license.gitlab-ci.yml @@ -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 - >