diff options
-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 |