Mutation
mutation RetryGitLabPipeline($projectId: ID!, $pipelineId: ID!) {
retryGitLabPipeline(projectId: $projectId, pipelineId: $pipelineId) {
id
projectId
iid
ref
branch
sha
}
}Variables
{
"projectId": "id",
"pipelineId": "id"
}Response
{
"data": {
"retryGitLabPipeline": {
"id": "id",
"projectId": "id",
"iid": "id",
"ref": "string",
"branch": "string",
"sha": "string"
}
}
}Mutations
retryGitLabPipeline
Retry git lab pipeline for Mutation.
MUTATION
retryGitLabPipeline(projectId: ID!, pipelineId: ID!): GitLabPipeline!Arguments
projectId
ID!
required
Project id used by retryGitLabPipeline.
pipelineId
ID!
required
Pipeline id used by retryGitLabPipeline.
Returns
id
ID!
Id for GitLabPipeline.
projectId
ID!
Project id for GitLabPipeline.
iid
ID
Iid for GitLabPipeline.
ref
String!
Ref for GitLabPipeline.
branch
String!
Effective source branch for GitLabPipeline.
sha
String!
Sha for GitLabPipeline.
source
String!
Source for GitLabPipeline.
status
Status for GitLabPipeline.
webUrl
String!
Web url for GitLabPipeline.
mergeRequests
Merge requests associated with the pipeline commit.
worktreeId
ID
Matching worktree identifier, when the branch is checked out.
worktreeHighlightColor
String
Matching worktree highlight color.
startedAt
String
Started at for GitLabPipeline.
createdAt
String
Created at for GitLabPipeline.
updatedAt
String
Updated at for GitLabPipeline.
finishedAt
String
Finished at for GitLabPipeline.
duration
Float
Duration for GitLabPipeline.
queuedDuration
Float
Queued duration for GitLabPipeline.
canRetry
Boolean!
Can retry.
canCancel
Boolean!
Can cancel.
externalExecutions
External executions.
Mutation
mutation RetryGitLabPipeline($projectId: ID!, $pipelineId: ID!) {
retryGitLabPipeline(projectId: $projectId, pipelineId: $pipelineId) {
id
projectId
iid
ref
branch
sha
}
}Variables
{
"projectId": "id",
"pipelineId": "id"
}Response
{
"data": {
"retryGitLabPipeline": {
"id": "id",
"projectId": "id",
"iid": "id",
"ref": "string",
"branch": "string",
"sha": "string"
}
}
}