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

Connecting HipChat to (allthethings)
Connecting HipChat to (allthethings)Connecting HipChat to (allthethings)
Connecting HipChat to (allthethings)Atlassian
 
How HipChat Powers the HipChat Team
How HipChat Powers the HipChat TeamHow HipChat Powers the HipChat Team
How HipChat Powers the HipChat TeamAtlassian
 
AtlasCamp 2015: HipChat: Connecting to (allthethings)
AtlasCamp 2015: HipChat: Connecting to (allthethings)AtlasCamp 2015: HipChat: Connecting to (allthethings)
AtlasCamp 2015: HipChat: Connecting to (allthethings)Atlassian
 
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 awesomeAtlassian
 
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 WestAtlassian
 
HipChat State of the Union
HipChat State of the UnionHipChat State of the Union
HipChat State of the Unioncolleenfry
 
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 DeskAtlassian
 
Confluence and HipChat Keynote Summit 2014
Confluence and HipChat Keynote Summit 2014Confluence and HipChat Keynote Summit 2014
Confluence and HipChat Keynote Summit 2014Atlassian
 
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 WeinbergAtlassian
 
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 MarketplaceAtlassian
 
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 HipChatAtlassian
 
HipChat (allthethings) for (alltheteams)! - Rich Manalang
HipChat (allthethings) for (alltheteams)! - Rich ManalangHipChat (allthethings) for (alltheteams)! - Rich Manalang
HipChat (allthethings) for (alltheteams)! - Rich ManalangAtlassian
 
7 Secrets of Successful HipChat Integrations
7 Secrets of Successful HipChat Integrations7 Secrets of Successful HipChat Integrations
7 Secrets of Successful HipChat IntegrationsAtlassian
 
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 MassesAtlassian
 

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

Introduction to Jhipster
Introduction to JhipsterIntroduction to Jhipster
Introduction to JhipsterKnoldus Inc.
 
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 MotokoKlaraOrban
 
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 ...Aljoscha Krettek
 
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...Flink Forward
 
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...Codemotion
 
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 ArchitectChau Thanh
 
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 DOTSSerdar Basegmez
 
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...Flink Forward
 
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 FlinkAljoscha Krettek
 
Docker and Fluentd
Docker and FluentdDocker and Fluentd
Docker and FluentdN Masahiro
 
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 OpenShiftHuang Bruce
 
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 CozyFrank Rousseau
 
Docker serverless v1.0
Docker serverless v1.0Docker serverless v1.0
Docker serverless v1.0Thomas Chacko
 
LKGtoPG - Basics of C Language
LKGtoPG - Basics of  C LanguageLKGtoPG - Basics of  C Language
LKGtoPG - Basics of C Languagelkgtopg jobs
 
IoT Node-Red Presentation
IoT  Node-Red PresentationIoT  Node-Red Presentation
IoT Node-Red PresentationThe IOT Academy
 
The internet of $h1t
The internet of $h1tThe internet of $h1t
The internet of $h1tAmit Serper
 
Nodejs web service for starters
Nodejs web service for startersNodejs web service for starters
Nodejs web service for startersBruce Li
 

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

Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identityteam-WIBU
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Rob Geurden
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 

Recently uploaded (20)

Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 

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.