Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mirkonasato/buildchatbot

Python script that monitors Jenkins builds and notifies a Skype chat
https://github.com/mirkonasato/buildchatbot

Last synced: 9 days ago
JSON representation

Python script that monitors Jenkins builds and notifies a Skype chat

Awesome Lists containing this project

README

        

buildchatbot
============

Python script to monitor Jenkins builds and notify a Skype chat.

Requirements
------------

* Python 2.7
* [Skype4Py](http://pypi.python.org/pypi/Skype4Py/)
* The Skype desktop app, running as the same user as this script
* HTTP access to the Jenkins server

Unlike the Jenkins
[Skype Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Skype+Plugin)
this script does not need to run on the same machine as Jenkins.

Configuration
-------------

Edit the top of the script setting your Jenkins URL and Skype chat name.

The chat name is the internal name used by Skype. To find it out run the
provided helper script that will display FriendlyName and Name of your
recent chats:

python listrecentchats.py
"Our project chat" -> "#myname/$abc123"
"Some other chat" -> "#friendname/$xyz789"

The first time you run a Skype4Py script Skype will display a prompt
asking you whether to allow Python access to Skype.

Running
-------

Always with Skype already running, simply launch the script:

python buildchatbot.py

License
-------

Released under the BSD 2-clause license; see LICENSE.txt.