Here's my setup: Bamboo 3.4.3 on Windows Server 2008 R2 also with VisualSVN 2.5.1. Everything is installed and working (once I learned it is required to run Bamboo as a service under an account other than SYSTEM).
Now I would like to trigger plan builds whenever code is committed to SVN. I understand generally how post-commit hook is supposed to work - except this is a Windows machine and it doesn't run the bash shell scripts that Bamboo provides. (At least I don't know how to make it do so...)
A) Do I need to install Cygwin or Mingw/MSYS?
B) Do I need to re-write the provided scripts in Windows *.bat (or *.vbs or *.ps1 or ?) form?
C) Has someone already done so? Certainly every other Atlassian customer who uses Windows has the same issue...
Thanks in advance for your help...
As per the documentation here, VisualSVN on windows expects anything that is executable on windows, which means, either .exe or .bat.
And again as per Bamboo documentation, you need to change the scripts to suit Windows.
So in a nut-shell, you need to do the following
Thank you Renjith.
I have read the manuals you reference - which weren't as helpful as your excellent comments #2 and #3. What the Bamboo documentation is missing is that wget is available for windows (if you download it). It also is missing the format of the wget call.
BTW: The link to wget binary didn't come through - but I'll google it.
Guess this should work
Once installed (better to install in a path without spaces), either add the installed bin path to PATH variable or directly use the full path in the hook script.
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...
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!
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