summaryrefslogtreecommitdiff
path: root/app/models/integrations/base_ci.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-19 07:33:21 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-19 07:33:21 +0000
commit36a59d088eca61b834191dacea009677a96c052f (patch)
treee4f33972dab5d8ef79e3944a9f403035fceea43f /app/models/integrations/base_ci.rb
parenta1761f15ec2cae7c7f7bbda39a75494add0dfd6f (diff)
downloadgitlab-ce-36a59d088eca61b834191dacea009677a96c052f.tar.gz
Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42
Diffstat (limited to 'app/models/integrations/base_ci.rb')
-rw-r--r--app/models/integrations/base_ci.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/models/integrations/base_ci.rb b/app/models/integrations/base_ci.rb
index b2e269b1b50..4f8732da703 100644
--- a/app/models/integrations/base_ci.rb
+++ b/app/models/integrations/base_ci.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-# Base class for CI services
-# List methods you need to implement to get your CI service
+# Base class for CI integrations
+# List methods you need to implement to get your CI integration
# working with GitLab merge requests
module Integrations
class BaseCi < Integration
@@ -12,7 +12,7 @@ module Integrations
end
def self.supported_events
- %w(push)
+ %w[push]
end
# Return complete url to build page
@@ -30,10 +30,10 @@ module Integrations
#
#
# Ex.
- # @service.commit_status('13be4ac', 'master')
+ # @integration.commit_status('13be4ac', 'master')
# # => 'success'
#
- # @service.commit_status('2abe4ac', 'dev')
+ # @integration.commit_status('2abe4ac', 'dev')
# # => 'running'
#
#