Add kind argument to project jobs resolver
What does this MR do and why?
Add kind argument
Adds kind arugment to GraphQL API for filtering jobs by kind.
Changelog: added
Fullstack MR can be found here to see it in action !198130 (closed)
References
Screenshots or screen recordings
How to set up and validate locally
- Visit http://gdk.test:3000/-/graphql-explorer
- Test query
query getJobs(
$fullPath: ID!
$first: Int
$statuses: [CiJobStatus!]
$kind: CiJobKind! = BUILD
) {
project(fullPath: $fullPath) {
id
jobs(
first: $first
statuses: $statuses
kind: $kind
) {
nodes {
artifacts {
nodes {
downloadPath
fileType
}
}
allowFailure
status
id
refName
refPath
tags
shortSha
commitPath
pipeline {
id
}
name
duration
finishedAt
}
}
}
}
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #555434 (closed)
Edited by Payton Burdette
