ci(soteria): publish docs_naming from doc hygiene check
This commit is contained in:
parent
169afc62d4
commit
e4e087fe0f
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -224,7 +224,11 @@ EOF
|
||||
if [ "${over_500}" -eq 0 ]; then
|
||||
loc_check="ok"
|
||||
fi
|
||||
docs_naming_check="not_applicable"
|
||||
docs_naming_check="$(cat build/docs-naming.status 2>/dev/null || echo failed)"
|
||||
case "${docs_naming_check}" in
|
||||
ok|pass|passed|success) docs_naming_check="ok" ;;
|
||||
*) docs_naming_check="failed" ;;
|
||||
esac
|
||||
gate_glue_check="ok"
|
||||
sonarqube_check="not_applicable"
|
||||
if [ -f build/sonarqube-quality-gate.json ]; then
|
||||
|
||||
@ -22,9 +22,11 @@ echo "[quality] structure hygiene"
|
||||
python3 "${ROOT_DIR}/scripts/structure_hygiene_check.py" --root "${ROOT_DIR}"
|
||||
|
||||
echo "[quality] doc hygiene"
|
||||
printf 'failed\n' > "${BUILD_DIR}/docs-naming.status"
|
||||
python3 "${ROOT_DIR}/scripts/doc_hygiene_check.py" \
|
||||
--root "${ROOT_DIR}" \
|
||||
--waivers "${ROOT_DIR}/scripts/doc_hygiene_waivers.tsv"
|
||||
printf 'ok\n' > "${BUILD_DIR}/docs-naming.status"
|
||||
|
||||
echo "[quality] LOC hygiene"
|
||||
python3 "${ROOT_DIR}/scripts/loc_hygiene_check.py" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user