Commit ce690aaf authored by lauraMon's avatar lauraMon

Adds status to StageType in gql

Changelog: added
parent 0a7a0a2c
......@@ -22,6 +22,9 @@ module Types
null: true,
description: 'Jobs for the stage.',
method: 'latest_statuses'
field :status, GraphQL::STRING_TYPE,
null: true,
description: 'Status of the pipeline stage.'
def detailed_status
object.detailed_status(current_user)
......
......@@ -7642,6 +7642,7 @@ Represents the total number of issues and their weights for a particular day.
| <a id="cistagegroups"></a>`groups` | [`CiGroupConnection`](#cigroupconnection) | Group of jobs for the stage. (see [Connections](#connections)) |
| <a id="cistagejobs"></a>`jobs` | [`CiJobConnection`](#cijobconnection) | Jobs for the stage. (see [Connections](#connections)) |
| <a id="cistagename"></a>`name` | [`String`](#string) | Name of the stage. |
| <a id="cistagestatus"></a>`status` | [`String`](#string) | Status of the pipeline stage. |
### `CiTemplate`
......
......@@ -10,6 +10,7 @@ RSpec.describe Types::Ci::StageType do
name
groups
detailedStatus
status
jobs
]
......
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