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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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

This widget could not be displayed.

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.

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

135 views 1 3
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