docs(exx-Pipeline): fix typo in variable 5
This commit is contained in:
parent
5775848b0f
commit
2c3c83188b
@ -10,6 +10,9 @@
|
||||
- "cd $BACKEND_DIR"
|
||||
- export NUMBER_OF_INVALID_LICENSES=0
|
||||
- export INVALID_BOM_FILE=invalid-bom.json
|
||||
# Convert all licenses to adoc
|
||||
- licenseBom2Adoc --bom $BOM_FILE --adoc $LICENSE_ADOC_FILE
|
||||
# Check invalid licenses and convert to adoc
|
||||
- >
|
||||
if [ -f "$ALLOWED_LICENSES" ]; then
|
||||
checkLicenseBom --bom $BOM_FILE --targetBom $INVALID_BOM_FILE --license $ALLOWED_LICENSES || NUMBER_OF_INVALID_LICENSES=$?
|
||||
@ -22,7 +25,6 @@
|
||||
else
|
||||
echo "All licenses valid"
|
||||
fi
|
||||
- licenseBom2Adoc --bom $BOM_FILE --adoc $LICENSE_ADOC_FILE
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
|
||||
Loading…
Reference in New Issue
Block a user