Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,379
Community Members
 
Community Events
168
Community Groups

How can you deploy a bitbucket-plugin (already built as jar) to the server via terminal?

Hi There

We run a Bitbucket Server on version 7.21 and have recently developed a Plugin for it. Since this plugin finally reached a stable Version we wanted to integrate it into our cd/ci pipeline (bamboo).

We can build the plugin via bamboo build plan alright, but we are facing an issue when trying to deploy it.

atlas-sdk's "atlas-install-plugin" does not work for us (afaik) because we are not in the project space, but only have the built jar itself.

Is there any way to copy the jar to a specific location on the bitbucket server and it auto-deploys or something similar?

1 answer

1 accepted

0 votes
Answer accepted

Hi and welcome to the Atlassian Community!

You can install an app into any Atlassian product over the UPM endpoint /rest/plugins/1.0.

It is described in this Wiki page for Confluence, but it works the same way for Bitbucket.

Hope that helps.

Best regards, Michael

Thanks for your rapid answer. I will test this out asap.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events