GIT-Jenkins-Jira for Continuous Integration and Testing



GIT-Jenkins-Jira for Continuous Integration and Testing

In this blog, we are going to learn how we can integrate Git, Jenkins, and JIRA to achieve continuous integration and continuous delivery.

What is Continuous Integration?

Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early.

What is Continuous Delivery?

Continuous delivery (CD) is a software engineering approach in which teams produce software in short cycles, ensuring that the software can be reliably released at any time and, when releasing the software, doing so manually. It aims at building, testing, and releasing software with greater speed and frequency.

Before Moving Further I would highly recommend you to read this blog to understand how to integrate Git with Jenkins.

Below Steps we need to follow to achieve this task:

      1)  In Jenkins Home page, Configure -->Manage Jenkins --> Install below JIRA Plugin. 



2)  Now Create New Jenkins Job and in Source Code Management select Git.


3)  Provide the Path of Git Repository and Git Credentials.



4)   Now inside Add Post-build Action, Select JIRA Issue Updater.


5)  Provide the path of Rest Base URL as shown below in the screenshot. After that please provide the username, password of Jira. 


6)  And in JQL for Selecting Issue to be updated provide the JIRA Project key and issue status as per your JIRA Workflow. Please make sure not to use any "".



7)    Now Execute Our Jenkins Job.


8)   And now if any test is failed we would be able to see it in inside JIRA along with necessary logs.




SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
Anonymous
January 21, 2019 at 6:14 PM

How to get REST API, if using remote server(instead localhost)

Reply
avatar
January 21, 2019 at 6:17 PM

How to update an issue with Build number and closing issue on particular ticket.

Reply
avatar