run-build-script-ci: enable code formatting
Enable code formatting and static analysis to cover
Python and shell in this repository. This helps
prevent us from introducing poor quality scripting.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I396949919b79365ec4ad9b78bc7c36931c0ec0f0
diff --git a/jenkins/run-build-script-ci b/jenkins/run-build-script-ci
index adfb1ce..8128c05 100755
--- a/jenkins/run-build-script-ci
+++ b/jenkins/run-build-script-ci
@@ -11,6 +11,9 @@
cd "${WORKSPACE}/openbmc-build-scripts"
+# Check code formatting.
+./scripts/format-code.sh .
+
# Now run some of our most used CI scripts
./scripts/build-unit-test-docker
./scripts/clean-unit-test-docker