How to use Bitbucket Pipelines for JIRA plugins

I have my JIRA plugin source code on Bitbucket. Does anyone knows what to configure to do atlas-package or atlas-release?

2 Likes

We are using our own Docker image that contains the atlassian plugin SDK: https://hub.docker.com/r/refinedwiki/atlassian-plugin-sdk/ You’re welcome to use it as well, simply add the following to your bitbucket-pipelines.yml:

image: refinedwiki/atlassian-plugin-sdk:latest

I’m trying to keep it up to date with the latest SDK but if you see that it’s outdated then just submit an issue in the Bitbucket repo. :slight_smile:

4 Likes

Hello,

I’ve made this yml that worked for my plugin:

# You can use a Docker image from Docker Hub or your own container
# registry for your build environment.
image: ghostsquad/docker-atlassian-sdk

pipelines:
  default:
    - step:
        script: # Modify the commands below to build your repository.
          - atlas-package
3 Likes

Another variation with most up to version and maven cache. https://hub.docker.com/r/quantify/atlassian-sdk

image: quantify/atlassian-sdk:latest

pipelines:
  default:
    - step:
        caches:
          - maven
        script: # Modify the commands below to build your repository.
          - atlas-package