Fix "Illegal option -o pipefail" problem and correct the parser path.
[releng.git] / 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