Try to fix dash licence tool in release pipeline (#2987)
Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
This commit is contained in:
committed by
GitHub
parent
e9acb301f2
commit
6a1120bbd3
@@ -53,7 +53,7 @@ jobs:
|
|||||||
- name: Check dependency licenses with dash tool (and open issues to Dash IP lab, doesn't fail)
|
- name: Check dependency licenses with dash tool (and open issues to Dash IP lab, doesn't fail)
|
||||||
if: ${{ inputs.open_tickets }}
|
if: ${{ inputs.open_tickets }}
|
||||||
run: |
|
run: |
|
||||||
mvn license-tool:license-check -Ddash.fail=false -PcheckLicense -Ddash.iplab.token=${{ secrets.GITLAB_API_TOKEN }}
|
mvn license-tool:license-check -Ddash.batch=50 -Ddash.fail=false -PcheckLicense -Ddash.iplab.token=${{ secrets.GITLAB_API_TOKEN }}
|
||||||
CHANGED_FILES_COUNT=$(git status --short | wc -l)
|
CHANGED_FILES_COUNT=$(git status --short | wc -l)
|
||||||
CHANGED_FILES_COUNT=${CHANGED_FILES_COUNT//[[:space:]]/}
|
CHANGED_FILES_COUNT=${CHANGED_FILES_COUNT//[[:space:]]/}
|
||||||
echo "Number of changed files: ${CHANGED_FILES_COUNT}"
|
echo "Number of changed files: ${CHANGED_FILES_COUNT}"
|
||||||
@@ -80,4 +80,4 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Check dependency licenses with dash tool (and fail if there are restricted dependencies)
|
- name: Check dependency licenses with dash tool (and fail if there are restricted dependencies)
|
||||||
run: mvn license-tool:license-check -Ddash.fail=true -PcheckLicense --projects '!org.eclipse.hawkbit:hawkbit-repository-test,!org.eclipse.hawkbit:hawkbit-dmf-rabbitmq-test'
|
run: mvn license-tool:license-check -Ddash.batch=50 -Ddash.fail=true -PcheckLicense --projects '!org.eclipse.hawkbit:hawkbit-repository-test,!org.eclipse.hawkbit:hawkbit-dmf-rabbitmq-test'
|
||||||
Reference in New Issue
Block a user