File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ namespace :mls_ruby_capistrano_slacker do
40
40
def get_release_description
41
41
return unless fetch ( :mls_ruby_capistrano_slacker_post_release_description )
42
42
43
+ return if fetch ( :mls_ruby_capistrano_slacker_skip )
44
+
43
45
pipelines_url = URI . parse (
44
46
"#{ ENV [ 'CI_API_V4_URL' ] } /projects/#{ ENV [ 'CI_PROJECT_ID' ] } /pipelines?username=#{ ENV . fetch ( 'GITLAB_USER_LOGIN' ) } &status=success&ref=#{ ENV . fetch ( 'CI_COMMIT_REF_NAME' ) } "
45
47
)
@@ -121,6 +123,8 @@ namespace :mls_ruby_capistrano_slacker do
121
123
# BEGINNING
122
124
#
123
125
task :notify_about_beginning do
126
+ return if fetch ( :mls_ruby_capistrano_slacker_skip )
127
+
124
128
puts 'ⓂⓁⓈ-ⓉⒺⒸ [🛠] [mls_ruby_capistrano_slacker] :: [ℹ️] notify_about_beginning'
125
129
126
130
on roles ( :all ) do |host |
@@ -148,6 +152,8 @@ namespace :mls_ruby_capistrano_slacker do
148
152
# FAILED
149
153
#
150
154
task :notify_failed do
155
+ return if fetch ( :mls_ruby_capistrano_slacker_skip )
156
+
151
157
puts 'ⓂⓁⓈ-ⓉⒺⒸ [🛠] [mls_ruby_capistrano_slacker] :: [ℹ️] notify_failed'
152
158
153
159
on roles ( :all ) do |host |
@@ -175,6 +181,8 @@ namespace :mls_ruby_capistrano_slacker do
175
181
# FINISHED
176
182
#
177
183
task :notify_finished do
184
+ return if fetch ( :mls_ruby_capistrano_slacker_skip )
185
+
178
186
puts 'ⓂⓁⓈ-ⓉⒺⒸ [🛠] [mls_ruby_capistrano_slacker] :: [ℹ️] notify_finished'
179
187
180
188
on roles ( :all ) do |host |
You can’t perform that action at this time.
0 commit comments