summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-05-18 03:23:06 -0400
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-05-26 06:27:00 +0000
commit3942c39c0b7b460a40571b70b5647bf147b298b3 (patch)
tree2a83551c88de9b58de027d170c79385193a54112
parent4aa264aa97b81f2b40434da55745b4ade4a8a2ab (diff)
Add the pep8 check in parser verify
JIRA:RELENG-110 Change-Id: I5c877d558bb04255a9e99dbe3459fba40217232c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
-rw-r--r--jjb/parser/parser.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/jjb/parser/parser.yml b/jjb/parser/parser.yml
index 5e603f026..2ab1af833 100644
--- a/jjb/parser/parser.yml
+++ b/jjb/parser/parser.yml
@@ -58,4 +58,15 @@
builders:
- shell: |
- echo "Nothing to verify!"
+ #/bin/bash
+ set -o errexit
+ set -o pipefail
+ set -o xtrace
+ export PATH=$PATH:/usr/local/bin/
+
+ # pep8 check parser/tosca2heat/tosca-parser
+ echo "Running tox -e pep8 on tosca2heat ..."
+ cd $WORKSPACE/parser/tosca2heat/tosca-parser
+ tox -e pep8
+ cd $WORKSPACE/parser/tosca2heat/heat-translator
+ tox -e pep8