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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 views 0 1
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