diff --git a/lib/travis/api/v3/renderer/build.rb b/lib/travis/api/v3/renderer/build.rb index 4bca9f68..a24c39d9 100644 --- a/lib/travis/api/v3/renderer/build.rb +++ b/lib/travis/api/v3/renderer/build.rb @@ -2,8 +2,8 @@ require 'travis/api/v3/renderer/model_renderer' module Travis::API::V3 class Renderer::Build < Renderer::ModelRenderer - representation(:minimal, :id, :number, :state, :duration, :event_type, :previous_state, :started_at, :finished_at, :jobs) - representation(:standard, *representations[:minimal], :repository, :branch, :commit) + representation(:minimal, :id, :number, :branch, :state, :duration, :event_type, :previous_state, :started_at, :finished_at, :jobs) + representation(:standard, *representations[:minimal], :repository, :commit) def jobs return model.jobs if include_full_jobs?