SlideShare a Scribd company logo
1 of 7
Download to read offline
Jenkins&Hipchat
integration
A tool to make our lives easier….
Whatisit?
In simple words…...
● It is an hidden bot which sitting in a Hipchat
room waiting for our command.
● Once we will give those commands, it process
them and perform desired tasks.
Continued….
In technical words……
● It’s a node js application/server running on our local
network.
● We are using ngrok utility to map the local Ip to public
Ip.
● Node js application communicates with Jenkins over HTTP.
1
2
3
1.User enters a slash-command into
hipchat room.
Eg. /automator run Operation on ENV
for PROJECT
2.Hipchat forwards that command to
node server as a post request with
request body containing command text
and other info like token, user_id,
room_id etc.
3.Node server process the received
command and fire a post API to
Jenkins job as per the request.
4. Jenkins start the job with given
parameters.
Flow
Chart:
SlashCommandFormat
/Automator Command Operation ON Environment FOR
Project AT Time
Command:Run/Stop/Status/Disable
Operation: smoke/sanity/regression
Environment:
qa/Stage/Production
Project:
The project for which you want to start/stop the build
process.
Command
Run:
/Automator Run smoke on env for xyz
Stop command:
/Automator Stop Project
It will stop all the builds for Project which are running or which
are scheduled to run.
Status:
I have created a hipchat notification script which runs in our test
suite and update the room with the status of the scenario.
Disable:
For disable command we will call disable api with one of our access
token.
Thanks!

More Related Content

Viewers also liked

HipChat State of the Union
HipChat State of the UnionHipChat State of the Union
HipChat State of the Union
colleenfry
 

Viewers also liked (15)

Connecting HipChat to (allthethings)
Connecting HipChat to (allthethings)Connecting HipChat to (allthethings)
Connecting HipChat to (allthethings)
 
How HipChat Powers the HipChat Team
How HipChat Powers the HipChat TeamHow HipChat Powers the HipChat Team
How HipChat Powers the HipChat Team
 
AtlasCamp 2015: HipChat: Connecting to (allthethings)
AtlasCamp 2015: HipChat: Connecting to (allthethings)AtlasCamp 2015: HipChat: Connecting to (allthethings)
AtlasCamp 2015: HipChat: Connecting to (allthethings)
 
AtlasCamp 2015: How HipChat ships at the speed of awesome
AtlasCamp 2015: How HipChat ships at the speed of awesomeAtlasCamp 2015: How HipChat ships at the speed of awesome
AtlasCamp 2015: How HipChat ships at the speed of awesome
 
Using HipChat For Real Time Communication in Social Media - Thad West
Using HipChat For Real Time Communication in Social Media - Thad WestUsing HipChat For Real Time Communication in Social Media - Thad West
Using HipChat For Real Time Communication in Social Media - Thad West
 
HipChat State of the Union
HipChat State of the UnionHipChat State of the Union
HipChat State of the Union
 
ChatOps: Automating your Company with HipChat, Bitbucket and JIRA Service Desk
ChatOps: Automating your Company with HipChat, Bitbucket and JIRA Service DeskChatOps: Automating your Company with HipChat, Bitbucket and JIRA Service Desk
ChatOps: Automating your Company with HipChat, Bitbucket and JIRA Service Desk
 
ChatOps FTW
ChatOps FTWChatOps FTW
ChatOps FTW
 
Confluence and HipChat Keynote Summit 2014
Confluence and HipChat Keynote Summit 2014Confluence and HipChat Keynote Summit 2014
Confluence and HipChat Keynote Summit 2014
 
How to Use HipChat to Collaborate and Build Culture - Matthew Weinberg
How to Use HipChat to Collaborate and Build Culture - Matthew WeinbergHow to Use HipChat to Collaborate and Build Culture - Matthew Weinberg
How to Use HipChat to Collaborate and Build Culture - Matthew Weinberg
 
AtlasCamp 2014: Hipchat Add-ons for the Atlassian Marketplace
AtlasCamp 2014: Hipchat Add-ons for the Atlassian MarketplaceAtlasCamp 2014: Hipchat Add-ons for the Atlassian Marketplace
AtlasCamp 2014: Hipchat Add-ons for the Atlassian Marketplace
 
Usability, Extensibility & Fun: the Switch from Lync to HipChat
Usability, Extensibility & Fun: the Switch from Lync to HipChatUsability, Extensibility & Fun: the Switch from Lync to HipChat
Usability, Extensibility & Fun: the Switch from Lync to HipChat
 
HipChat (allthethings) for (alltheteams)! - Rich Manalang
HipChat (allthethings) for (alltheteams)! - Rich ManalangHipChat (allthethings) for (alltheteams)! - Rich Manalang
HipChat (allthethings) for (alltheteams)! - Rich Manalang
 
7 Secrets of Successful HipChat Integrations
7 Secrets of Successful HipChat Integrations7 Secrets of Successful HipChat Integrations
7 Secrets of Successful HipChat Integrations
 
Mechanisms of Delight: HipChat Bots for the Masses
Mechanisms of Delight: HipChat Bots for the MassesMechanisms of Delight: HipChat Bots for the Masses
Mechanisms of Delight: HipChat Bots for the Masses
 

Similar to Jenkins & Hipchat integration

Encode x ICH: Intro to Building on the IC in Motoko
Encode x ICH: Intro to Building on the IC in MotokoEncode x ICH: Intro to Building on the IC in Motoko
Encode x ICH: Intro to Building on the IC in Motoko
KlaraOrban
 

Similar to Jenkins & Hipchat integration (20)

Monkey Server
Monkey ServerMonkey Server
Monkey Server
 
Introduction to Jhipster
Introduction to JhipsterIntroduction to Jhipster
Introduction to Jhipster
 
Encode x ICH: Intro to Building on the IC in Motoko
Encode x ICH: Intro to Building on the IC in MotokoEncode x ICH: Intro to Building on the IC in Motoko
Encode x ICH: Intro to Building on the IC in Motoko
 
my-document (2).pdf
my-document (2).pdfmy-document (2).pdf
my-document (2).pdf
 
Build a chatroom!
Build a chatroom!Build a chatroom!
Build a chatroom!
 
Talk Python To Me: Stream Processing in your favourite Language with Beam on ...
Talk Python To Me: Stream Processing in your favourite Language with Beam on ...Talk Python To Me: Stream Processing in your favourite Language with Beam on ...
Talk Python To Me: Stream Processing in your favourite Language with Beam on ...
 
Flink Forward Berlin 2017: Aljoscha Krettek - Talk Python to me: Stream Proce...
Flink Forward Berlin 2017: Aljoscha Krettek - Talk Python to me: Stream Proce...Flink Forward Berlin 2017: Aljoscha Krettek - Talk Python to me: Stream Proce...
Flink Forward Berlin 2017: Aljoscha Krettek - Talk Python to me: Stream Proce...
 
Open Source Serverless: a practical view. - Gabriele Provinciali Luca Postacc...
Open Source Serverless: a practical view. - Gabriele Provinciali Luca Postacc...Open Source Serverless: a practical view. - Gabriele Provinciali Luca Postacc...
Open Source Serverless: a practical view. - Gabriele Provinciali Luca Postacc...
 
Zing Me Real Time Web Chat Architect
Zing Me Real Time Web Chat ArchitectZing Me Real Time Web Chat Architect
Zing Me Real Time Web Chat Architect
 
OpenNTF Webinar - October 2021: Return of the DOTS
OpenNTF Webinar - October 2021: Return of the DOTSOpenNTF Webinar - October 2021: Return of the DOTS
OpenNTF Webinar - October 2021: Return of the DOTS
 
Flink Forward Berlin 2018: Thomas Weise & Aljoscha Krettek - "Python Streamin...
Flink Forward Berlin 2018: Thomas Weise & Aljoscha Krettek - "Python Streamin...Flink Forward Berlin 2018: Thomas Weise & Aljoscha Krettek - "Python Streamin...
Flink Forward Berlin 2018: Thomas Weise & Aljoscha Krettek - "Python Streamin...
 
Python Streaming Pipelines with Beam on Flink
Python Streaming Pipelines with Beam on FlinkPython Streaming Pipelines with Beam on Flink
Python Streaming Pipelines with Beam on Flink
 
Docker and Fluentd
Docker and FluentdDocker and Fluentd
Docker and Fluentd
 
1. Quick sartup a jenkins server on OpenShift
1. Quick sartup a jenkins server on OpenShift1. Quick sartup a jenkins server on OpenShift
1. Quick sartup a jenkins server on OpenShift
 
How to make a Personal Single Page Application with Cozy
How to make a Personal Single Page Application with CozyHow to make a Personal Single Page Application with Cozy
How to make a Personal Single Page Application with Cozy
 
Docker serverless v1.0
Docker serverless v1.0Docker serverless v1.0
Docker serverless v1.0
 
LKGtoPG - Basics of C Language
LKGtoPG - Basics of  C LanguageLKGtoPG - Basics of  C Language
LKGtoPG - Basics of C Language
 
IoT Node-Red Presentation
IoT  Node-Red PresentationIoT  Node-Red Presentation
IoT Node-Red Presentation
 
The internet of $h1t
The internet of $h1tThe internet of $h1t
The internet of $h1t
 
Nodejs web service for starters
Nodejs web service for startersNodejs web service for starters
Nodejs web service for starters
 

Recently uploaded

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 

Recently uploaded (20)

The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 

Jenkins & Hipchat integration

  • 1. Jenkins&Hipchat integration A tool to make our lives easier….
  • 2. Whatisit? In simple words…... ● It is an hidden bot which sitting in a Hipchat room waiting for our command. ● Once we will give those commands, it process them and perform desired tasks.
  • 3. Continued…. In technical words…… ● It’s a node js application/server running on our local network. ● We are using ngrok utility to map the local Ip to public Ip. ● Node js application communicates with Jenkins over HTTP.
  • 4. 1 2 3 1.User enters a slash-command into hipchat room. Eg. /automator run Operation on ENV for PROJECT 2.Hipchat forwards that command to node server as a post request with request body containing command text and other info like token, user_id, room_id etc. 3.Node server process the received command and fire a post API to Jenkins job as per the request. 4. Jenkins start the job with given parameters. Flow Chart:
  • 5. SlashCommandFormat /Automator Command Operation ON Environment FOR Project AT Time Command:Run/Stop/Status/Disable Operation: smoke/sanity/regression Environment: qa/Stage/Production Project: The project for which you want to start/stop the build process.
  • 6. Command Run: /Automator Run smoke on env for xyz Stop command: /Automator Stop Project It will stop all the builds for Project which are running or which are scheduled to run. Status: I have created a hipchat notification script which runs in our test suite and update the room with the status of the scenario. Disable: For disable command we will call disable api with one of our access token.