Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×My bamboo build server v.4.2.1 is running on Windows Server 2008 R2. I installed our compiler along with BSP on the C:\ drive of the server. There are some parts of the BSP that is checked into subversion. So for my task, I run a windows .bat script that is stored locally on the server to update the code.
The script just contains the line:
svn update c:\ghs\int1002
Unfortunately, I get an error from the bamboo log:
svn: E175013: Unable to connect to a repository
The repository is set up in bamboo with working username and password and when I use inline script to do the update, it fails too. I thought it's because bamboo doesn't automatically put in a username and password for svn if you run a script. So I did a local script on the server and it still fails. I'm starting to think it's because I didn't specify a username or password so I did and that's not why either. I'm not really sure if it's a subversion issue or bamboo issue or windows issue or me!
Is there a way to resolve or workaround this? It's just a simple svn update. I don't really understand why it's so hard. Previously, I tried to use the checkout widget but it does not let me specify a location and it this case I need it to update code in a specific location.
Used http: instead of https: to check out and the problem went away. Still think there's a conflict between Windows authentication and SVN authentication.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you connect into the server and run the same script does it work?
Does the server have connectivity to the other server where the SVN repository is located? The message seems to be related to networking issues.
AFAIK unless you specify to not cache the credentials, as long you don't remove the credentials cache from the machine where you script is running SVN should be able to re-use the same credentials and just run the update as you expect.
Is Bamboo able to checkout the code from the same place? I didn't understand exactly why do you need a this external script as Bamboo should run a update/checkout on the repository before each build if you configure it correctly.
Not sure you read this page: https://confluence.atlassian.com/display/BAMBOO/Subversion
Cheers,
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem was solved by using http instead of https. I think the problem was because of Windows. When Bamboo logs in to windows it's probably running as a restricted user and thus had problems using whatever svn user it uses to update the code.
The reason I was doing what I was doing is because the BSPs are updated in the toolchain's directory. I think if I set up svn externals that might help. Not too sure. Thanks for trying.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.