Jira and continous integration

we would like to have CI solution integrated with Jira. we are tageting jira, jenkins and anthill pro. the idea is to have a JIRA ticket created for build and deploy, this then will trigger jenkins to do build , followed by anthill pro do a deployment. is this do able ? how would typically automatic CI in Jira looks like? thanks

 

1 answer

Jenkins has a JIRA Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Jira+Issue+Updater+Plugin), try it. We have implemented CI with my JIRA Instance in many ways, I can suggest my top 2 choice:

1.) Some of our Jenkins instances are configured to build on a certain time (all the developers know it) then we create a script to query all tickets with a custom field "Build Requested" = YES then JENKINS will include all those changesets committed to that ticket. Jenkins will then "comment" to the JIRA ticket if it was added to the build, if it's successfull.. failed.. etc

 

2) For those who do not poll, we develop a script that triggers a jenkins build on certain JIRA Ticket transitions (like when it's transitioned to "Ready for QA"). We have groovy scripts and shell scripts. We then put this script in the Workflow post-function.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,847 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot