I have a couple of questions, I am just setting up a new TeamCity server to replace some old python scripts that we used before to do Continuous Integration.
Firstly, I would like to Clean out an Agent based on which Trigger has started a build. for example, we have a lot of 'rolling' builds in the day as changes come in via Accurev. We don't do a 'clean' for each of these as the full test run can take hours. But, we have a nightly build that we do want to clean out first. I can easily set up both build Triggers, but what I would ideally like to do is have a property be set to indicate which Trigger was used, so we can have our build system know if it should be doing a clean build or a rolling build.
A separate issue is that I have an HTTP link that is output in the log from our build very early, which I would like to somehow report in the TeamCity UI -- it is a link to the detailed logs/progress of our build system. Is there a simple way to do this or do I have to write a plugin to extract this from TeamCity?
Possibly I would be better off combining both needs into a custom Test Runner that could do this?#
Any feedback would be great. I don't mind creating a custom Test Runner if that is the best way to go.