Commit e5c7dc79 authored by Luke Duncalfe's avatar Luke Duncalfe

Merge branch 'pb-add-stuck-field-to-job-type' into 'master'

Add stuck field to the job type

See merge request gitlab-org/gitlab!61247
parents 44e4afcc bb0eb279
......@@ -71,6 +71,8 @@ module Types
description: 'Indicates the job can be canceled.'
field :active, GraphQL::BOOLEAN_TYPE, null: false, method: :active?,
description: 'Indicates the job is active.'
field :stuck, GraphQL::BOOLEAN_TYPE, null: false, method: :stuck?,
description: 'Indicates the job is stuck.'
field :coverage, GraphQL::FLOAT_TYPE, null: true,
description: 'Coverage level of the job.'
field :created_by_tag, GraphQL::BOOLEAN_TYPE, null: false,
......
---
title: Add stuck field to CiJob
merge_request: 61247
author:
type: added
......@@ -7344,6 +7344,7 @@ Represents the total number of issues and their weights for a particular day.
| <a id="cijobstage"></a>`stage` | [`CiStage`](#cistage) | Stage of the job. |
| <a id="cijobstartedat"></a>`startedAt` | [`Time`](#time) | When the job was started. |
| <a id="cijobstatus"></a>`status` | [`CiJobStatus`](#cijobstatus) | Status of the job. |
| <a id="cijobstuck"></a>`stuck` | [`Boolean!`](#boolean) | Indicates the job is stuck. |
| <a id="cijobtags"></a>`tags` | [`[String!]`](#string) | Tags for the current job. |
| <a id="cijobtriggered"></a>`triggered` | [`Boolean`](#boolean) | Whether the job was triggered. |
| <a id="cijobuserpermissions"></a>`userPermissions` | [`JobPermissions!`](#jobpermissions) | Permissions for the current user on the resource. |
......
......@@ -37,6 +37,7 @@ RSpec.describe Types::Ci::JobType do
stage
started_at
status
stuck
tags
triggered
userPermissions
......
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