Capistrano plugin to notify deployments on Stride
Notifies in a Stride room about a new deployment showing the git log for the latest
commits included in the current deploy.
Add this line to your application’s Gemfile:
group :deployment do
gem 'capistrano-stride', '~> 0.3', require: false
end
The group declaration is optional, but it’s important to make sure you only load this gem
withing a Capistrano script (as explained below) and never within your application
(eg. rails does the require of the default bundler group and the current environment group).
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-stride
Add this to your Capfile
require 'capistrano/stride'
Then you need to configure you Stride token and the room URL you want to notify about
the new deployment
set :stride_url, "https://api.atlassian.com/site/SITE_ID/conversation/CONVERSATION_ID/message"
set :stride_token, "STRIDE_ACCESS_TOKEN"
For get Stride URL and access token you need add custom app with API tokens,
without installation application. Just only enter specify a token name. Simple and Easy!
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)