| Author |
Message |
Dom Rich
Joined: 07 Feb 2013 Posts: 3
|
Posted: Thu Feb 07, 2013 6:30 pm Post subject: TeamCity Plugin |
|
|
I am trying to get a CI solution working using TeamCity and Deployment Manager.
I have set up a Red Gate build job and it all works fine until I try and use the option to create upgrade scripts. The build then fails every time:
sqlCI error occurred: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
The build log shows it is trying to get the last build package and it is at that point it fails.
I am using the Team City NuGet Server to do this.
I have noticed it always calls the authenticated service, even if I set the package in Deployment Manager to the public one.
Any clues as to where I am going wrong? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6345 Location: Red Gate Software
|
Posted: Mon Feb 11, 2013 12:28 pm Post subject: |
|
|
Offhand I'd say that the deployment is set up to use the authentication TeamCity repository rather than the one that doesn't require authentication. You can see there are two different URLs in TeamCity... have you set up your repository in the settings to use the one that doesn't need authentication? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Dom Rich
Joined: 07 Feb 2013 Posts: 3
|
Posted: Wed Feb 13, 2013 10:46 am Post subject: |
|
|
| Thanks for your reply Brian. I deleted the project in Deployment Manager and recreated it and it started using the correct NuGet server. I've also changed Team City to use NTLM authentication which seems to be the final part of the solution. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group