Class: Quandl::Utility::ThorTasks::CI

Inherits:
Thor
  • Object
show all
Defined in:
lib/quandl/utility/thor_tasks/ci.rb

Overview

Tasks to run on CI Server

Instance Method Summary collapse

Instance Method Details

#notify_slack(message = nil) ⇒ Object



11
12
13
14
15
16
# File 'lib/quandl/utility/thor_tasks/ci.rb', line 11

def notify_slack(message = nil)
  notification = message.nil? ? ci_build_message : "#{ci_build_message} - #{message}"
  invoke 'qutil:notify:slack',
    [notification, slack_channel],
    emoji: slack_emoji
end