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:
authorFabio Pitino <fpitino@gitlab.com>2019-05-21 12:21:53 +0300
committerJames Lopez <james@gitlab.com>2019-05-21 12:21:53 +0300
commitcef8d1d40847322a8cce3fdeb6f353ebfd298193 (patch)
tree30f3c6156f17af569890de8a7d523636535bb1f1 /lib/api/entities.rb
parentea7b10cd57f5c4f1739725eff79c1d340ece7a15 (diff)
Add allow_failure attribute to Job API
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50813
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 625fada4f08..1a3318fe849 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -1266,7 +1266,7 @@ module API
end
class JobBasic < Grape::Entity
- expose :id, :status, :stage, :name, :ref, :tag, :coverage
+ expose :id, :status, :stage, :name, :ref, :tag, :coverage, :allow_failure
expose :created_at, :started_at, :finished_at
expose :duration
expose :user, with: User