Skip to content

pranavp14/Jenkins-to-Teams-Notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-time Build Updates: Jenkins-to-Teams Notifications

Automating Jenkins to update build results in a customized format on Teams fosters collaboration and enhances team awareness within the development workflow.

Introduction:

This Python and Robot Framework automation project brings together the power of Jenkins and Microsoft Teams seamlessly. The project's core revolves around establishing a robust connection between Jenkins and Teams, enhancing communication and transparency across the Continuous Integration and Continuous Deployment pipelines. A structured result template has been meticulously crafted by parsing the build XML file, enabling the smooth transmission of essential updates through a webhook directly into Microsoft Teams. This integration orchestrates real-time notifications, ensuring that teams stay in the loop with instant updates delivered straight to their collaborative workspace. By streamlining these updates, the project optimizes team communication, fostering efficiency, and a deeper level of transparency throughout the development lifecycle

Technologies Used:

  • Python
  • Robot Framework
  • xml.etree.ElementTree library
  • RequestLibrary
  • Jenkins
  • HTML/CSS
  • Microsoft Teams.

Steps Performed:

  • Create an EC2 Instance + Jenkins
  • Write teams notification python code and integrate with robot framework for automation and
  • Generate Incoming webhook for perticular Microsoft teams channel for build updates.
  • Parsing XML using xml.etree.ElementTree and making HTTP requests with requests.
  • Push Code on Github account.
  • Create a Jenkins pipeline for k8s cluster commission and decommission.
  • Get update Jenkins build to specific Microsoft Teams channel such as 'post' section allows you to define actions that should be taken after a pipeline stage or the entire pipeline completes execution.

Screenshots:

gcp-commission aks-commission aks-decommission Project-build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published