It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Jira

Managing Incidents - The roof is on FIRE!

The roof is on FIRE… network outages, broken processes, upset clients and employees. Each day seemed to bring more and more issues. Incidents were communicated via email, messengers (skype or teams) ...

128 views 0 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you