Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

mirkonasato/buildchatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

buildchatbot

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

Requirements

  • Python 2.7
  • Skype4Py
  • The Skype desktop app, running as the same user as this script
  • HTTP access to the Jenkins server

Unlike the 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.

About

Python script that monitors Jenkins builds and notifies a Skype chat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages