Accept option for PII checker report dir. Add PII check to CI quality check.
Add tests for run_pii_check paver command.
This commit is contained in:
@@ -198,7 +198,7 @@ pipeline {
|
||||
// Publish Quality report
|
||||
publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true,
|
||||
reportDir: 'reports/metrics/',
|
||||
reportFiles: 'pylint/*view*/,pep8/*view*/,python_complexity/*view*/,xsscommitlint/*view*/,xsslint/*view*/,eslint/*view*/',
|
||||
reportFiles: 'pylint/*view*/,pep8/*view*/,python_complexity/*view*/,xsscommitlint/*view*/,xsslint/*view*/,eslint/*view*/,pii/*view*/',
|
||||
reportName: 'Quality Report', reportTitles: ''])
|
||||
} finally {
|
||||
if (env.ghprbPullId != null) {
|
||||
|
||||
@@ -137,6 +137,8 @@ case "$TEST_SUITE" in
|
||||
run_paver_quality run_xsslint -t $XSSLINT_THRESHOLDS || { EXIT=1; }
|
||||
echo "Running safe commit linter report."
|
||||
run_paver_quality run_xsscommitlint || { EXIT=1; }
|
||||
echo "Running PII checker on all Django models..."
|
||||
run_paver_quality run_pii_check || { EXIT=1; }
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user