Jenkins job for jira plugin development?

Hi all,

Is here anyone who created a jenkins job for building a jira plugin?

I would like to know if it is possible and how to deal with atlassian's sdk in Jenkins?

Thank you!

5 answers

1 accepted

Hi,

We're using Jenkins to build our plugin - Configuration Manager for JIRA. Here's a summary of the required configuration:

  1. Install atlassian plugin sdk on the Jenkins build machines
  2. In Jenkins add a maven installation pointing to the sdk - Manage Jenkins -> Cofigure System -> Maven Installations. Click "Add Maven" button and uncheck "Install Automatically" then
    1. Name it (i.e. atlas-mvn)
    2. In MAVEN_HOME put the path to the sdk (i.e. /opt/atlassian-plugin-sdk/apache-maven).
  3. Create a job with the following configuration
    1. Add a build step "Invoke Top Level Maven Target"
    2. Choose atlas-mvn (or whatever name you've specified in 2.1) from the "Maven Version" dropdown
    3. Put "clean install" in the "Goals" textbox (or any other depending on what you want to do)

 I can't find the atlassian plugin sdk in Jenkins plugin directory, how do I install this?

Hi Boris,

Could you please provide steps to provide target JIRA server details in Jenkins to install a built JIRA plugin? 

Thanks.

Boris How did you fix the missing jta-1.0.1.pom issue. I have been trying to get it to work and have followed all the instructions I could find with no succes. It never seems to find it.

I've installed it in my own maven repository. Cloudbees offers a maven repository for freee, so you might consider it as an option.

What did you use for your own maven repository. I have been playing with artifactory but Jenkins complains that it needs Maven 3.0.2 to force dependency resolution form artifactory. I looked at CloudBees but would like to setup my own maven repo locallly.

You can try Nexus OSS - http://www.sonatype.org/nexus/it's one of the best out there :).

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 ...

3,110 views 13 19
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