Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

fabian_imhof
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 16, 2022

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
Michael Rüegg _Mibex Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2022

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

fabian_imhof
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 16, 2022

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events