lib/lolcommits/plugins/lolsrv.rb in lolcommits-0.6.4 vs lib/lolcommits/plugins/lolsrv.rb in lolcommits-0.6.5
- old
+ new
@@ -38,11 +38,11 @@
end
def upload(file, sha)
RestClient.post(configuration['server'] + '/uplol',
:lol => File.new(file),
- :url => runner.git_info.url + sha,
- :repo => runner.git_info.repo,
+ :url => runner.vcs_info.url + sha,
+ :repo => runner.vcs_info.repo,
:date => File.ctime(file),
:sha => sha)
rescue => e
log_error(e, "ERROR: Upload of lol #{sha} FAILED #{e.class} - #{e.message}")
end