You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to have an indication of whether a TeamCity build configuration is paused (i.e. all triggers have been disabled, so the CI test isn't currently active).
If a test passes and is then paused for a long time, it can be misleading for the build monitor to show it as successful.
The TeamCity service gets information about specific builds in time, which doesn't give us any information about whether the build configuration they belong to is paused. However, we can find out whether the build config is paused with this API call:
Hey @lochsh, originally the build monitor was intended to show builds. If I understand you correctly, the build itself isn't paused, but the configuration is. So, the gray color could be misleading and will affect all builds belonging to the configuration.
Maybe you could write another service (e.g. TeamCityConfigurations.js) to list all configurations and their state. Feel free to make a PR. ;-)
Thanks for getting back to me @marcells, I've been on holiday so sorry for the late response!
Adding another service sounds like a good way to tackle this :) I'm not very experienced with JavaScript, but I'll definitely have a go once I have time and come back from my holiday.
It would be useful to have an indication of whether a TeamCity build configuration is paused (i.e. all triggers have been disabled, so the CI test isn't currently active).
If a test passes and is then paused for a long time, it can be misleading for the build monitor to show it as successful.
The TeamCity service gets information about specific builds in time, which doesn't give us any information about whether the build configuration they belong to is paused. However, we can find out whether the build config is paused with this API call:
https://teamcity-server/app/rest/buildTypes/id:BuildConfigurationId/paused
Perhaps the grey colour can be used to indicate a paused config, as well as a cancelled build.
The text was updated successfully, but these errors were encountered: