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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 09, 2019 in Portfolio for Jira

Portfolio for Jira 3.0 is here!

The wait is over... Portfolio for Jira Server and Data Center 3.0 is now officially here! Platform releases offer Atlassian an opportunity to shift our strategy, make bold predictions about t...

1,581 views 14 26
Read article

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