Enhance Jenkins integration of safe templates take 2
- Handle case when no files are linted - Skip deleted files for safe commit script - Add verbose options for safe commit
This commit is contained in:
@@ -13,7 +13,9 @@ set -e
|
||||
# Violations thresholds for failing the build
|
||||
export PYLINT_THRESHOLD=4175
|
||||
export JSHINT_THRESHOLD=7550
|
||||
export SAFELINT_THRESHOLD=2700
|
||||
|
||||
SAFELINT_THRESHOLDS=`cat scripts/safelint_thresholds.json`
|
||||
export SAFELINT_THRESHOLDS=${SAFELINT_THRESHOLDS//[[:space:]]/}
|
||||
|
||||
doCheckVars() {
|
||||
if [ -n "$CIRCLECI" ] ; then
|
||||
|
||||
Reference in New Issue
Block a user