Is it possible to install addons from a Bitbucket terminal session?

I need to install the commitgraph-2.0.jar addon on Bitbucket. Restrictions mean I can't browse from the Bitbucket GUI to the file. However, I do have the file on the Bitbucket server, so I'd like to know how I can install it via a terminal session.

 

Thanks

1 answer

1 accepted

1 votes
Bryan Turner Atlassian Team Feb 16, 2016

Carl,

If you copy the plugin jar to BITBUCKET_HOME/shared/plugins/installed-plugins on disk and restart Bitbucket Server, it should pick up the plugin.

Can you let me know if that works?

Best regards,
Bryan Turner
Atlassian Bitbucket

Hi Bryan,

That worked! Thanks very much. You've saved me a lot of effort and delay. It's very much appreciated.

 

For others who may need to use this method, I copied the plugin jar to /var/atlassian/application-data/bitbucket/shared/plugins/installed-plugins, changed the owner and group to atlbitbucket and the permissions to 0640, then restarted the atlbitbucket service.

 

All the best.

Carl

 

p.s. Check out commitgraph-2.1.jar just released last week.  It's about 10x faster, and has a number of bug fixes.  I also recommend Bit Booster Commit Graph (I'm the author), but it's $2/user.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

683 views 0 4
Read article

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