Agile Notifier - an easy way of monitoring Agile SW Engineering, including CI (Continuous Integration), SCM (Source Control Management), and ITS (Issue Tracking System).
MIT License
Agile Notifier - an easy way of monitoring Agile SW Engineering by auralization change. It supports most of the popular tools including CI (Continuous Integration), SCM (Source Control Management), and ITS (Issue Tracking System). Of course you can integrate more tools as you want. And the simple beautiful DSL syntax gives you a rocket start.
In a modern agile team, members would like to be notified immediately once their Continuous Integration job fails (but building process usually takes quite a while). That's the initial idea of this tool.
The joy of this tool is that, whenever a build fails, it can blame whoever submitted the commit (or praises the committer who fixed it), in whatever language you want, and even the sentenses can be randomly chosen each time :)
Have fun with it!
AgileNotifier::Configuration.set do
ci_url 'http://x.x.x.x:8080'
ci_job 'your-project-continuous-build'
ci_get 'Jenkins'
scm_url 'https://github.xyzcompany.com'
scm_repo user: 'your_user_name', repo: 'your_repository_name'
# scm_auth is optional, depends on if your github API access requires authentication
# if authentication is required, please choose either username & password or OAuth access token (latter one is recommended)
scm_auth username: 'github_login_username', password: 'github_login_password' # optional
scm_auth token: 'a1b2c3d4e5f6f0f0f0f0f0f0f0f0f6e5d4c3b2a1' # optional
scm_get 'Github', enterprise: true
# for non-enterprise version
# scm_url 'https://github.com'
# scm_repo user: 'your_user_name', repo: 'your_repository_name'
# scm_get 'Github'
its_url 'https://jira.atlassian.com'
its_auth 'jira_username', 'jira_password'
its_get 'Jira'
its_set_wip 'BAM', 'project = BAM AND status = Resolved AND resolution = Unresolved', 3
its_set_wip 'XXX', 'project = XXX AND status = Resolved AND resolution = Unresolved', 5
speak 'en'
play 'Boing' # Mac OSX TTS voice name(optional field), unnecessary for other OS
alert_on_fail
alert_on_fix
alert_on_unstable
alert_on_wip
end
First create a config file based on above DSL syntax. (let's say the file name is [your_own_config].rb)
ruby [your_own_config].rb
ruby [your_own_config].rb -b $UPSTREAM_BUILD_NUMBER
UPSTREAM_BUILD_NUMBER=${BUILD_NUMBER}
TTS (Text To Speech) on Linux used here has two dependencies:
sudo apt-get install sox libsox-fmt-all
##License Copyright (c) 2016 Jing Li. See the LICENSE file for license rights and limitations (MIT).