Commit 9d825723 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Fix: broken git clone URL for CI runners

parent 09c6c6e1653a
......@@ -169,8 +169,7 @@ def coverage_enabled?
# using http and basic auth
def repo_url_with_auth
auth = "gitlab-ci-token:#{token}@"
url = http_url_to_repo + ".git"
url.sub(/^https?:\/\//) do |prefix|
http_url_to_repo.sub(/^https?:\/\//) do |prefix|
prefix + auth
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment