Firefox version requirement on Agents - best practice?

I'm looking for some advice on the best way to use agent requirements when different projects require different versions of Firefox.

Some of our projects only run against version 5.0.1, and some need 8.0.1.  We have 8.0.1 on 1 or 2 agents and the rest have 5.0.1.

Currently we have created a system property on each agent (by modifying the buildAgent.properties file), for example 'sys.firefox=8.0.1'.  Each project has an agent requirement that 'sys.firefox' must equal either 5.0.1 or 8.0.1.

This is amazingly painful to manage - we have 14 build agents and manually keeping the sys.firefox property synchronised with the actual Firefox version feels like a huge waste of time!  Does TeamCity have more of a native way of recognising the versions of software installed on agents, and exposing them as agent requirements?

Please sign in to leave a comment.