aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2016-07-14 10:16:35 +0100
committerMike McQuaid2016-07-14 10:16:35 +0100
commit2a61c84be38866c5be788eebea932510608ba805 (patch)
treea2ed5d935a26c5f97fd071469345d93cdd3c4ea7 /Library/Homebrew/dev-cmd
parentb3ed00b791b5e95519b3a59a578a09dd084c44ab (diff)
downloadbrew-2a61c84be38866c5be788eebea932510608ba805.tar.bz2
test-bot: handle inconsistent Jenkins GIT_URLs.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb
index 9b9b65614..34a5a537c 100644
--- a/Library/Homebrew/dev-cmd/test-bot.rb
+++ b/Library/Homebrew/dev-cmd/test-bot.rb
@@ -307,7 +307,7 @@ module Homebrew
elsif ENV["GIT_BRANCH"] && ENV["GIT_URL"]
%r{origin/pr/(\d+)/(merge|head)} =~ ENV["GIT_BRANCH"]
pr = $1
- @url = "#{ENV["GIT_URL"]}/pull/#{pr}"
+ @url = "#{ENV["GIT_URL"].chomp("/")}/pull/#{pr}"
@hash = nil
# Use Travis CI pull-request variables for pull request jobs.
elsif travis_pr