|
To configure your source repository:
Configure your source code management system's repository to send post-commit event messages to Bamboo. These messages tell Bamboo to begin building the plans that use this repository.
Edit two files in the CVSROOT module:
Please refer to Configuring source code management triggers for Subversion. |
If you are using a remote SVN server, copy file "atlassian-bamboo/repositoryScripts/svn-triggers/postCommitBuildTrigger.sh" to the SVN repository .../hook/post-commit folder so that the postCommitBuildTrigger.sh file can be accessible from Edit the Subversion repository's
Please refer to Configuring source code management triggers for Subversion. |
Add the script as a change-commit trigger.
|
Edit the Hg respository's
|
Edit the Git respository's
|
/scripts folder of your Bamboo Installation Directory. If you are using Bamboo EAR-WAR distribution, you can find them in the /repositoryScripts folder. You can also download the scripts by following this link.wget' is in '/usr/bin/'; if this isn't the case for your repository (e.g. Solaris 10 has it in /usr/sfw/bin/), edit the scripts and change '/usr/bin/' to the appropriate location.Before you begin:
To configure Bamboo to trigger a build on code check in:
to display the plan's configuration pages.Only enter an IP address in Trigger IP Address if you want Bamboo to receive post-commit notifications from other than the primary IP address for the repository.
If you use a Mercurial or Git repository then you must type the IP address of your repository host in the Trigger IP Address field. |
Screenshot: Build Strategy – repository triggers the build when changes are committed
