diff --git a/lib/travis/api/app/responders/xml.rb b/lib/travis/api/app/responders/xml.rb index 24a657dc..7db0a964 100644 --- a/lib/travis/api/app/responders/xml.rb +++ b/lib/travis/api/app/responders/xml.rb @@ -14,7 +14,7 @@ module Travis::Api::App::Responders lastBuildStatus="<%= STATUS[build(repository).state.to_sym] || STATUS[:default] %>" lastBuildLabel="<%= build(repository).try(:number) %>" lastBuildTime="<%= build(repository).finished_at.try(:strftime, '%Y-%m-%dT%H:%M:%S.%L%z') %>" - webUrl="https://<%= Travis.config.client_domain %>/<%= r.slug %>" /> + webUrl="https://<%= Travis.config.client_domain %>/<%= repository.slug %>" /> <% end %> EOF