Merge "Fix "Illegal option -o pipefail" problem and correct the parser path."
authormei mei <meimei@huawei.com>
Fri, 27 May 2016 02:20:24 +0000 (02:20 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Fri, 27 May 2016 02:20:24 +0000 (02:20 +0000)
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