I'm using TeamCity 7.1.3 on Windows.
I have a weird case where the Maven Release Plugin fails with the error authorization failed:
[org.myself.foo:bar-app] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare
(default-cli) on project bar-app: Unable to commit files
The svn command failed.
svn: E170001: Commit failed (details follow):
svn: E170001: Unable to connect to a repository at URL 'http://localhost/SVG/repos/Demos/Foo/trunk'
svn: E170001: OPTIONS of 'http://localhost/SVG/repos/Demos/Foo/trunk': authorization failed: Could not authenticate to server: rejected Basic challenge (http://localhost)
The weird thing: I have two identical build servers - this build works fine on one, but fails on the other.
(Windows 2008 server with SVN 1.7 installed)
The check-out of sources works fine with the same credentials, the build fails trying to tag the code in SVN.
I kept the default SVN connection settings in TeamCity:
User name: Administrator
Default config directory: Use default config directory
Externals support: Full support (load changes and checkout)
Anyone encountered such a problem?
Is there a way to clean up the SVN cache ib the build agent?