TeamCity forgotten admin password – where to look?

From TeamCity 8 you can log in as a super user and change the password that way. You just need to use an empty username and last occurrence of the “super user authentication token” found in the logs\teamcity-server.log file as your password. Please see the following for more information: TeamCity 8 – http://confluence.jetbrains.com/display/TCD8/Super+User TeamCity 9 … Read more

MSBuild in TeamCity of Visual Studio 2012 solution

Actually, you don’t need to install Visual Studio on your CI server. You only need to copy a few folders from a development machine to the same location on the CI server. VS 2015: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\WebApplications VS 2013: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications VS 2012: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web C:\Program Files … Read more

How to deploy after a build with TeamCity?

This article explains how to call Microsoft’s WebDeploy tool from TeamCity to deploy a web application to a remote web server. I’ve been using it to deploy to a test web server and run selenium tests on check-in. http://www.mikevalenty.com/automatic-deployment-from-teamcity-using-webdeploy/ Install WebDeploy Enable Web config transforms Configure TeamCity BuildRunner Configure TeamCity Build Dependencies The MSBuild arguments … Read more

Why are my PowerShell exit codes always “0”?

This is a known issue with PowerShell. Executing a script with -file returns an exit code of 0 when it shouldn’t. (Update: The links below no longer work. Please look for, or report, this problem on PowerShell: Hot (1454 ideas) – Windows Server) https://connect.microsoft.com/PowerShell/feedback/details/777375/powershell-exe-does-not-set-an-exit-code-when-file-is-used https://connect.microsoft.com/PowerShell/feedback/details/750653/powershell-exe-doesn-t-return-correct-exit-codes-when-using-the-file-option Since using -command wasn’t working for you, you could try … Read more

Running multiple TeamCity Agents on the same computer?

Yes, it’s possible: Several agents can be installed on a single machine. They function as separate agents and TeamCity works with them as different agents, not utilizing the fact that they share the same machine. After installing one agent you can install additional one, providing the following conditions are met: the agents are installed in … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)