Fix "Illegal option -o pipefail" problem and correct the parser path. 01/14701/3
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>
Thu, 26 May 2016 09:15:31 +0000 (17:15 +0800)
committerzhifeng.jiang <jiang.zhifeng@zte.com.cn>
Fri, 27 May 2016 01:16:21 +0000 (09:16 +0800)
JIRA:RELENG-110

Change-Id: I7cf0a79cd7046878de50c0214837d266770560c1
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
jjb/parser/parser.yml

index 2ab1af8..01f51aa 100644 (file)
 
     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