From 572de0c1c2788d8d434a967f6ef0cb144f7f668f Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Tue, 19 Dec 2017 11:04:04 +0000 Subject: Adds illustrations for manual actions and non triggered jobs --- app/serializers/job_entity.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/serializers/job_entity.rb') diff --git a/app/serializers/job_entity.rb b/app/serializers/job_entity.rb index 72e56a2c77f..523b522d449 100644 --- a/app/serializers/job_entity.rb +++ b/app/serializers/job_entity.rb @@ -4,6 +4,8 @@ class JobEntity < Grape::Entity expose :id expose :name + expose :started?, as: :started + expose :build_path do |build| build.target_url || path_to(:namespace_project_job, build) end -- cgit v1.2.1