From: Jose Lausuch Date: Tue, 14 Nov 2017 08:44:27 +0000 (+0000) Subject: Merge "Set Functest MultiJob as arch independent" X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=8f2f9ca8772147b10e0386299876a97d833cc00e;hp=6b64bb67585b8b88145054f11b9c8b4914dd7aff;p=releng.git Merge "Set Functest MultiJob as arch independent" --- diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml index d79632689..08766943c 100644 --- a/jjb/global/releng-macros.yml +++ b/jjb/global/releng-macros.yml @@ -383,7 +383,12 @@ echo "Running yaml code on $PROJECT ..." # Get list of yaml files - YAML_FILES=$(git --no-pager diff --diff-filter=MCRAT --name-only HEAD^1 | egrep "ya?ml$") + YAML_FILES=$(git --no-pager diff --diff-filter=MCRAT --name-only HEAD^1 | egrep "ya?ml$") || true + + #If YAML_FILES is none exit with 0 + if [ -z "$YAML_FILES" ]; then + exit 0 + fi # Ensure we start with a clean environment rm -f yaml-violation.log lint.log