Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
22657160
Commit
22657160
authored
Apr 21, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure pipelines and jobs are in sync
Both have `queuedDuration` field.
parent
5face7e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
app/graphql/types/ci/job_type.rb
app/graphql/types/ci/job_type.rb
+0
-4
app/graphql/types/ci/pipeline_type.rb
app/graphql/types/ci/pipeline_type.rb
+3
-0
No files found.
app/graphql/types/ci/job_type.rb
View file @
22657160
...
...
@@ -46,10 +46,6 @@ module Types
type:
Types
::
DurationType
,
null:
true
,
description:
'How long this job was enqueued before starting.'
field
:duration
,
type:
Types
::
DurationType
,
null:
true
,
description:
'How long this job ran for, if it has started.'
field
:detailed_status
,
Types
::
Ci
::
DetailedStatusType
,
null:
true
,
description:
'Detailed status of the job.'
...
...
app/graphql/types/ci/pipeline_type.rb
View file @
22657160
...
...
@@ -39,6 +39,9 @@ module Types
field
:duration
,
GraphQL
::
INT_TYPE
,
null:
true
,
description:
'Duration of the pipeline in seconds.'
field
:queued_duration
,
Types
::
DurationType
,
null:
true
,
description:
'How long the pipeline was queued before starting.'
field
:coverage
,
GraphQL
::
FLOAT_TYPE
,
null:
true
,
description:
'Coverage percentage.'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment