diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-06-14 07:35:27 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-06-14 07:35:27 +0000 |
commit | da66c90b0f154452d7fe7ea9a6d296466cb7f223 (patch) | |
tree | f85deab1b2ad3ab59929193b80d2e343228cc0ab /lib | |
parent | 0037cf634dbcc8045fba9cbc28133cfde07dc97c (diff) | |
parent | 25b99a5b3beecb7251fef9097c44afd1f82f9f57 (diff) | |
download | gitlab-ce-da66c90b0f154452d7fe7ea9a6d296466cb7f223.tar.gz |
Merge branch 'fix-external-ci-services' into 'master'
Allow to access statuses for external CI services
Closes #30714, #29369, and #15220
See merge request !11176
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/status/external/common.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/ci/status/external/common.rb b/lib/gitlab/ci/status/external/common.rb index 4969a350862..9307545b5b1 100644 --- a/lib/gitlab/ci/status/external/common.rb +++ b/lib/gitlab/ci/status/external/common.rb @@ -3,6 +3,10 @@ module Gitlab module Status module External module Common + def label + subject.description + end + def has_details? subject.target_url.present? && can?(user, :read_commit_status, subject) |