lib/vidar/cli.rb in vidar-1.0.0 vs lib/vidar/cli.rb in vidar-1.1.0
- old
+ new
@@ -115,10 +115,11 @@
slack_notification = SlackNotification.new(
github: Config.get!(:github),
revision: Config.get!(:revision),
revision_name: Config.get!(:revision_name),
+ build_url: Config.build_url,
deploy_config: Config.deploy_config
)
deploy_status = Vidar::DeployStatus.new(namespace: Config.get!(:namespace))
@@ -192,9 +193,10 @@
def notify_slack
slack_notification = SlackNotification.new(
github: Config.get!(:github),
revision: Config.get!(:revision),
revision_name: Config.get!(:revision_name),
+ build_url: Config.build_url,
deploy_config: Config.deploy_config
)
slack_notification.deliver(message: options[:message]) if slack_notification.configured?
end