summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAimee Ukasick <aimeeu.opensource@gmail.com>2016-12-15 13:25:31 -0600
committerAimee Ukasick <aimeeu.opensource@gmail.com>2017-02-10 10:24:54 -0600
commit2e5b7c3a72577b102fb21d268ebf5f5b603a2a20 (patch)
tree472a2141fb6cbd3a04f3799745f91e7920fb4707
parent508f72a1bec40410e1c008f13fbdfaf2cf56611d (diff)
Add call to run shellcheck
JIRA: COPPER-33 Add call to run shellcheck on tests directory Change-Id: I530e4f6cd8f24f80c818944928a870fa23ed9e60 Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
-rw-r--r--jjb/copper/copper.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/jjb/copper/copper.yml b/jjb/copper/copper.yml
index 80ad9294e..19cd394f1 100644
--- a/jjb/copper/copper.yml
+++ b/jjb/copper/copper.yml
@@ -63,4 +63,10 @@
builders:
- shell: |
- echo "Nothing to verify!"
+ #!/bin/bash
+ set -o errexit
+ set -o nounset
+ set -o pipefail
+
+ cd $WORKSPACE/ci
+ shellcheck -f tty tests/*.sh