postgreSQL driver in bamboo Edited

i want to develop a bamboo plugin, and i need to test  it in a safe environment.

i installed bamboo server on my macbook, and for the database.

I used this to connect to the database using jdbc, but I get the error

No suitable driver found for jdbc:postgresql://localhost:5432/bamboo

I tried including


in my java class, but it does not find the class.


How do I include the driver in my plugin ?

3 answers

You'll have to add the jdbc driver into the /lib directory of tomcat for Bamboo

and then restart bamboo

I don't find a tomcat directory, where is it ?

I tried adding the jar to


but it does not work

How did you install your bamboo?

I downloaded the archive here


for writing the plugin I installed atlassian sdk using homebrew.

Try ${bambooHome}/lib then check that you have the driver that matches your postgres version

Screen Shot 2017-04-20 at 10.36.33.png

I have downloaded the latest jdbc jar in this folder, but it still does not find it, I have bamboo 5.15.5 with java 8 and postgreSQL 9.6, so I used the 4.2 version.

I tried


and it return an empty list

I tried different locations


and none of them worked.

do I need to include the driver in the pom.xml of the plugin ?

if so, How do I do that ?


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
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,813 views 0 6
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