From e54906847d2772aebcc82c5de4bc16720ce45cba Mon Sep 17 00:00:00 2001 From: "zhifeng.jiang" Date: Thu, 26 May 2016 17:15:31 +0800 Subject: [PATCH] Fix "Illegal option -o pipefail" problem and correct the parser path. JIRA:RELENG-110 Change-Id: I7cf0a79cd7046878de50c0214837d266770560c1 Signed-off-by: zhifeng.jiang --- jjb/parser/parser.yml | 10 ++++------ 1 file 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 -- 2.16.6