diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-10-17 18:44:52 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-10-17 18:44:52 +0900 |
commit | 5c723d8572dc3060773b50324b5c0f18d97f4124 (patch) | |
tree | a6b304c3d365233e9e43a9f85b089a47511b504d | |
parent | d6e62bffad5e313fcc3abb6a2391e25c05f3caa0 (diff) | |
download | gitlab-ce-deployment-status-presenter.tar.gz |
Add external_url_formatteddeployment-status-presenter
-rw-r--r-- | lib/gitlab/ci/status/deployment/common.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/gitlab/ci/status/deployment/common.rb b/lib/gitlab/ci/status/deployment/common.rb index 64bb7c4e032..10d9de000bc 100644 --- a/lib/gitlab/ci/status/deployment/common.rb +++ b/lib/gitlab/ci/status/deployment/common.rb @@ -25,7 +25,11 @@ module Gitlab end def external_url - subject.environment.external_url + environment.external_url + end + + def external_url_formatted + environment.formatted_external_url end def stop_url @@ -64,6 +68,10 @@ module Gitlab def deployable subject.deployable end + + def has_deployment? + true + end end end end |