- Jenkins notifications with Hipchat
- Integrate Hipchat with Jenkins
- Jenkins LTS
- CloudBees Jenkins Enterprise
A quick guide to setting up integration with Hipchat and Jenkins:
- First install the Hipchat plugin: Manage Jenkins > Manage Plugins > Available > and search for the Hipchat plugin.
- Restart the Jenkins instance.
- After restarting go to Manage Jenkins > Configure System
- Open another tab and navigate to your hipchat api url: www.hipchat.com/account/api.
- Generate a new API token with the following permissions: Send Notifications, View Rooms
Copy this API token. We will be using it (it will be referred to ask “API Token from step 5”).
- Navigate to https://hipchat.com/rooms and locate the room you would like to post messages to.
- Copy the API ID as this is the room id.
Go back to Jenkins global configuration page, and paste the API Token from step 5, and the API ID from step 7:
- Create a new Freestyle project.
- As part of the post-build actions drop down selection one should say “Hipchat notification”:
The Auth Token, and Project Room can be overriden from the system token.
- Click save and execute a build.
- Navigate to the room and you should see notifications from hipchat about the build completing: