Sending Jenkins build notifications to a Skype chat

On all recent projects I’ve been working on teams use a Skype chat as one convenient way of communication. It’s especially useful to send notifications instantly to all people in the team. So I thought wouldn’t it be perfect to send build notifications as well?

Surely enough, there already is a Jenkins Skype plugin. However it seems a bit complicated to set up, requiring you to run Skype on the same machine that also acts as a Jenkins slave.

Hence I wrote buildchatbot, a Python script that sends notification using Skype4Py. It monitors Jenkins remotely by periodically checking a status URL over HTTP, so you can run it on any machine as long as it has Skype running.

Here it is in action:


You can grab it from github, along with more detailed setup instructions.

4 thoughts on “Sending Jenkins build notifications to a Skype chat

  1. sathiyaseelan says:

    I’m having error like invalid skype chat name.

    Traceback (most recent call last):
    File “”, line 84, in
    File “”, line 75, in __init__ = skype.Chat(SKYPE_CHAT)
    File “”, line 474, in Chat
    File “”, line 350, in _GetStatus
    File “”, line 24, in _Property
    File “”, line 296, in _Property
    File “”, line 281, in _DoCommand
    Skype4Py.errors.SkypeError: [Errno 105] Invalid chat name

    I’m not so much familiar with python..But I somehow managed to install this.. and working fine.
    Can you any sample values for SKYPE_CHAT variable??

    Anyway you did nice work.
    Thanks in advance


  2. Artur Shpak says:


    When I execute the scrypt it holds on following step and does not do anything:
    # /usr/lib/python2.7/encodings/ascii.pyc matches /usr/lib/python2.7/encodings/
    import encodings.ascii # precompiled from /usr/lib/python2.7/encodings/ascii.pyc


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s