docs(exx-Pipeline): fix typo in variable 3
This commit is contained in:
parent
1bdaebdabd
commit
fb94dab51e
@ -13,15 +13,16 @@
|
|||||||
- >
|
- >
|
||||||
if [ -f "$ALLOWED_LICENCES" ]; then
|
if [ -f "$ALLOWED_LICENCES" ]; then
|
||||||
checkLicenseBom --bom $BOM_FILE --targetBom $INVALID_BOM_FILE --license $ALLOWED_LICENSES || NUMBER_OF_INVALID_LICENSES=$?
|
checkLicenseBom --bom $BOM_FILE --targetBom $INVALID_BOM_FILE --license $ALLOWED_LICENSES || NUMBER_OF_INVALID_LICENSES=$?
|
||||||
|
echo "Number of invalid license ${NUMBER_OF_INVALID_LICENSES}"
|
||||||
|
checkLicenseBom --bom $BOM_FILE --targetBom $INVALID_BOM_FILE --license $ALLOWED_LICENSES
|
||||||
fi
|
fi
|
||||||
- >
|
# - >
|
||||||
if [ "$NUMBER_OF_INVALID_LICENSES" -gt 0 ]; then
|
# if [ "$NUMBER_OF_INVALID_LICENSES" -gt 0 ]; then
|
||||||
echo "Invalid licenses found. Number of invalid license ${NUMBER_OF_INVALID_LICENSES}". See invalid-licenses file in artifacts.
|
# licenseBom2Adoc --bom $INVALID_BOM_FILE --adoc $INVALID_LICENSE_ADOC_FILE
|
||||||
licenseBom2Adoc --bom $INVALID_BOM_FILE --adoc $INVALID_LICENSE_ADOC_FILE
|
# exit 1
|
||||||
exit 1
|
# else
|
||||||
else
|
# echo "All licenses valid"
|
||||||
echo "All licenses valid"
|
# fi
|
||||||
fi
|
|
||||||
- licenseBom2Adoc --bom $BOM_FILE --adoc $LICENSE_ADOC_FILE
|
- licenseBom2Adoc --bom $BOM_FILE --adoc $LICENSE_ADOC_FILE
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user