1 minute read

In this post I describe how to configure the polling interval of the TeamCity Url Build Trigger.

The Url Build Trigger plugin by JetBrains works ok. But it by default polls the target url every 30 seconds for every build configuration.

There’s no configuration options in the UI, no source code, and no documentation. But the plugin is licensed with Apache license, so I de-compiled the JAR file for the plugin and found this setting:

String pollInterval = context.getBuildType().getParameterValue("teamcity.internal.url.build.trigger.poll.interval");

Adding the following to the teamcity internal.properties file you can set the polling interval to 10 minutes (or any whole second interval)!:

# Set the "Url build trigger" plugins polling interval to 10 minutes
url.build.trigger.poll.interval=600

It will now wait 600 seconds instead of 30! Cool 😎

That’s it for this time!

// Nils Henrik

Tags:

Categories:

Updated: