Welcome to mirror list, hosted at ThFree Co, Russian Federation.

job_info.rb « job_request « ci « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e228e490946fc6f252b057b60fd5cd94fb5ae8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module API
  module Entities
    module Ci
      module JobRequest
        class JobInfo < Grape::Entity
          expose :id, :name, :stage
          expose :project_id, :project_name
          expose :time_in_queue_seconds
          expose :project_jobs_running_on_instance_runners_count
        end
      end
    end
  end
end