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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Do Subversion and Bamboo applications need to be on the same machine ?

This question is in reference to Atlassian Documentation: Configuring source code management triggers for Subversion


I'm trying to set up a remote trigger for my plan from our Subversion server.

Documentation says the post-commit script must contain the following line:

/path-to-your-bamboo-installation/scripts/svn-triggers/ base-url BUILD-KEY

But this suggest that the Subversion server is on the same machine than Bamboo. If I try typing the absolute path to the script in another machine, of course the script answers saying it can't find the path specified.

How to target the from another server?


3 answers

How about running ssh remotely?

ssh user:pwd@bambooserver '/path-to-your-bamboo-installation/scripts/svn-triggers/ base-url BUILD-KEY'

Of course, it's better to generate a trusted relationship between the servers, so use

ssh-keygen -t rsa -b 2048
ssh-copy-id user@bambooserver
(check the ssh manual)


Windows, heh? Nevermind, use OpenSSH or cygwin (that beast is nice too). Open SSH may be easier to set up, though.


Uh-oh! I just realized you will need a cygwin anyway (it's a sh) on that Windows.


Thanks for your answer !

I forgot to tell that I'm running all under Windows...

Answer to EDIT2: there is a in the same folder under Bamboo installation. It seems to be doing the same stuff. Maybe I can target this one instead.

0 votes
rsperafico Atlassian Team Jan 14, 2016

Hello Brice,

Thank you for your inquire.

If you are using a remote SVN server, copy file "atlassian-bamboo/repositoryScripts/svn-triggers/" to the SVN repository .../hook/post-commit folder so that the file can be accessible from post-commit trigger file.

Edit the Subversion repository's hooks/post-commit trigger file with something like:

/path/to/ http://localhost:8085/api/rest/updateAndBuild.action?buildKey=PROJ-PLAN

See below for more information about the scripts. Please refer to Configuring source code management triggers for Subversion.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

Thanks for this answer ! I will try this but before on last question : I guess that as I'm running all under Windows, I need to use the .py file instead of the .sh file, right ?

rsperafico Atlassian Team Jan 15, 2016

Yes, in this case you would be using the Python version instead (.py). Please, make sure you have Python installed and available to your system in the PATH environment variable.

You will notice has a script written and an example on how to use it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

621 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you