summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jenkins-helpers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins-helpers.sh b/jenkins-helpers.sh
index 793a498f..2e8d8ee6 100644
--- a/jenkins-helpers.sh
+++ b/jenkins-helpers.sh
@@ -490,7 +490,7 @@ clone_or_update_repo_no_checkout ()
local refspec="+refs/changes/*:refs/changes/*"
if [ x"$single_branch" = x"" ]; then
- run_with_timeout_and_retry 1h 3 git remote update -p
+ run_with_timeout_and_retry 1h 3 git remote update -p "$remote"
else
refspec="+refs/heads/$single_branch:refs/remotes/$remote/$single_branch"
fi