From 183947615f68083a73813ad671e039e1f8cd5869 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 2 May 2018 16:39:10 +0100 Subject: [PATCH] Fux up jenkins origin/ branches --- scripts/fetchdep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fetchdep.sh b/scripts/fetchdep.sh index 14111576bf..9e7e47fe5b 100755 --- a/scripts/fetchdep.sh +++ b/scripts/fetchdep.sh @@ -7,7 +7,7 @@ repo="$2" curbranch="$TRAVIS_PULL_REQUEST_BRANCH" [ -z "$curbranch" ] && curbranch="$TRAVIS_BRANCH" -[ -z "$curbranch" ] && curbranch="$GIT_BRANCH" # jenkins +[ -z "$curbranch" ] && curbranch=`"$GIT_BRANCH" | sed -e 's/^origin\///'` # jenkins if [ -n "$curbranch" ] then