...
Anchor |
---|
| failsInTeamCityButNotLocally |
---|
| failsInTeamCityButNotLocally |
---|
|
Anchor |
---|
| Build fails or behaves differently in TeamCity but not locally |
---|
| Build fails or behaves differently in TeamCity but not locally |
---|
|
Build works locally but fails or misbehaves in TeamCity
If a build fails or otherwise misbehaves in TeamCity but you believe it should not, follow this procedure:
Find a way to run the task from a command prompt. Make sure it works on the TeamCity agent machine, under the same user as the TeamCity agent runs under, with the same environment the agent receives. If necessary, run the TeamCity agent under a different user or tweak its environment. When the command runs OK, configure the same command in a TeamCity build using the command-line runner with the custom script setting. If that works, try other runner if that feels applicable.
...