ci(soteria): publish docs_naming from doc hygiene check

This commit is contained in:
codex 2026-04-20 08:09:05 -03:00
parent 169afc62d4
commit e4e087fe0f
2 changed files with 7 additions and 1 deletions

6
Jenkinsfile vendored
View File

@ -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

View File

@ -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" \