DE

In TeamCity, you can create a new build step where you run the webhook directly or use the script above:

TeamCity Webhook Integration
TeamCity Webhook Integration

For more information on TeamCity build steps, please check out their documentation page.