Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I be notified of a VCS issue on a team city build server?

Tags:

teamcity

I have a teamcity server configured for CI. Our svn connection occasionally drops, once this happens a project will no longer check for changes, but we are not warned about this without logging onto the servers' web page.

Is there a way to be notified when there is a VCS problem in Team City?

like image 758
ilivewithian Avatar asked Feb 28 '12 13:02

ilivewithian


People also ask

What is VCS trigger in TeamCity?

VCS triggers automatically start a new build each time TeamCity detects new changes in the configured VCS roots and displays the change in the pending changes. Multiple VCS triggers can be added to a build configuration.

How do I check my TeamCity logs?

In the web UI, go to Administration | Diagnostics page. On the Troubleshooting tab, choose an active logging preset. To view logs, go to the Server Logs tab. If it is not possible to enable debug logging mode from the TeamCity web UI, refer to this section to learn how to adjust logging options manually.

Is TeamCity vulnerable to log4j?

TeamCity core uses log4j 1.2 which is not vulnerable. To confirm its safety we have run additional tests through the known attack vectors which did not replicate the issue.

How do you trigger a build in TeamCity?

To run a custom build with specific changes, open the build results page, go to the Changes tab, expand the required change, click the Run build with this change, and proceed with the options in the Run Custom Build dialog. Use HTTP request or REST API request to TeamCity to trigger a build.


1 Answers

Do you use mail notification on you builds? If so, you can set it to be notified of "Build fails to start". There may be different reasons to fail, but for us, it is always losing connectivity to VCS server.

  • Subscribing to Notifications

  • Failed to Start Builds

"Build fails to start" setting

like image 52
hshib Avatar answered Oct 31 '22 22:10

hshib