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

This widget could not be displayed.
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 Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,319 views 8 11
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