summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-05-26 17:15:31 +0800
committerzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-05-27 09:16:21 +0800
commite54906847d2772aebcc82c5de4bc16720ce45cba (patch)
treee7b22c33aea5280936da01611c043224fc9af418
parent2e2aaccb68c64732c559594b41d587df49cb6130 (diff)
Fix "Illegal option -o pipefail" problem and correct the parser path.
JIRA:RELENG-110 Change-Id: I7cf0a79cd7046878de50c0214837d266770560c1 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
-rw-r--r--jjb/parser/parser.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/jjb/parser/parser.yml b/jjb/parser/parser.yml
index 2ab1af833..01f51aa68 100644
--- a/jjb/parser/parser.yml
+++ b/jjb/parser/parser.yml
@@ -58,15 +58,13 @@
builders:
- shell: |
- #/bin/bash
+ #!/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
+ cd $WORKSPACE/tosca2heat/tosca-parser && tox -e pep8
+ cd $WORKSPACE/tosca2heat/heat-translator && tox -e pep8