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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

188 views 20 8
Join discussion

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