summaryrefslogtreecommitdiffstats
path: root/jjb/releng-macros.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/releng-macros.yaml')
-rw-r--r--jjb/releng-macros.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml
index 7733abac4..0c4cb8fff 100644
--- a/jjb/releng-macros.yaml
+++ b/jjb/releng-macros.yaml
@@ -349,6 +349,7 @@
# empty string: ""
FLAKE_COUNT="$(find . \
-path './releng_flake8' -prune -o \
+ -path './.tox' -prune -o \
-type f -name "*.py" -print | \
xargs flake8 --exit-zero -qq --count 2>&1)"
@@ -359,6 +360,7 @@
echo "Flake8 Violations: $FLAKE_COUNT" > lint.log
find . \
-path './releng_flake8' -prune -o \
+ -path './.tox' -prune -o \
-type f -name "*.py" -print | \
xargs flake8 --exit-zero --first >> violation.log
SHOWN=$(wc -l violation.log | cut -d' ' -f1)
@@ -410,3 +412,8 @@
- upload-generated-docs-to-opnfv-artifacts
- report-docs-build-result-to-gerrit
- remove-old-docs-from-opnfv-artifacts
+
+- builder:
+ name: check-bash-syntax
+ builders:
+ - shell: "find . -name '*.sh' | xargs bash -n"