Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/ci/job/retry.rb')
-rw-r--r--app/graphql/mutations/ci/job/retry.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/graphql/mutations/ci/job/retry.rb b/app/graphql/mutations/ci/job/retry.rb
index bfb9b902cc5..5ccc33de33e 100644
--- a/app/graphql/mutations/ci/job/retry.rb
+++ b/app/graphql/mutations/ci/job/retry.rb
@@ -6,6 +6,12 @@ module Mutations
class Retry < Base
graphql_name 'JobRetry'
+ JobID = ::Types::GlobalIDType[::Ci::Processable]
+
+ argument :id, JobID,
+ required: true,
+ description: 'ID of the job to mutate.'
+
field :job,
Types::Ci::JobType,
null: true,