From ffc9fe49a15e68c8251082fa6ac75a57350640ed Mon Sep 17 00:00:00 2001 From: Vladimir Shushlin Date: Mon, 21 Jan 2019 14:08:42 +0300 Subject: Fix empty labels for `pages:deploy` job Use description of GenericCommitStatus as label if provided Fallback to core status labels if not --- lib/gitlab/ci/status/external/common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/gitlab/ci/status/external/common.rb b/lib/gitlab/ci/status/external/common.rb index 4169f5b3210..5471b0092ed 100644 --- a/lib/gitlab/ci/status/external/common.rb +++ b/lib/gitlab/ci/status/external/common.rb @@ -6,7 +6,7 @@ module Gitlab module External module Common def label - subject.description + subject.description || super end def has_details? -- cgit v1.2.1