Fail license scan (after DEPENDENCIES commit) if there are restricted

This commit is contained in:
Avgustin Marinov
2025-06-24 09:16:02 +03:00
committed by GitHub
parent 3bd07295e8
commit c838554214

View File

@@ -60,5 +60,7 @@ jobs:
git status --short
exit 1
fi
# do dash.fail=true so if there are restricted dependencis the build will fail
mvn license-tool:license-check -Ddash.fail=true -PcheckLicense -Ddash.iplab.token=${GITLAB_API_TOKEN} --projects '!org.eclipse.hawkbit:hawkbit-repository-test,!org.eclipse.hawkbit:hawkbit-dmf-rabbitmq-test'
env:
GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }}
GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }}