Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TeamCity service doesn't show if build configurations are paused #73

Open
lochsh opened this issue Sep 22, 2017 · 2 comments
Open

TeamCity service doesn't show if build configurations are paused #73

lochsh opened this issue Sep 22, 2017 · 2 comments

Comments

@lochsh
Copy link

lochsh commented Sep 22, 2017

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.

@marcells
Copy link
Owner

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. ;-)

@lochsh
Copy link
Author

lochsh commented Oct 2, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants