Build configs don't show all necessary programs needed to run

I work for a company that uses teamcity on a daily basis. We make hundreds of different products and have more than 35 build agents. Our problem is that most of our build configurations don't display all of the programs needed to run it (should be listed under "agent parameters"). Often enough, the configuration only lists one of many programs needed to successfully run it. Does anyone know a fix for this? it's causing a lot of problems, especially if we try and run a build on a different agent to test if it works. A long-term fix would be to make sure all the agents have the same software, but that could take weeks to do, and we're nearing a deadline for a Japanese company that we have to meet.

Again, the question is:
Is there any way to make a build configuration list all of the programs needed for it to run, and not just one of them?

3 comments
Comment actions Permalink

Hi,

Could you please provide an example of your build configuration and programs which are not shown in Agent Requirements?

0
Comment actions Permalink

Here's an example--
One of our products requires three programs to successfully run: Microsoft Visual studio 2010, installshield 2013, and an autoupdater software. However, it only shows that it needs Visual Studio 2010. Since the other two programs don't even show up on that list, we often run th ebuild on a buildagent that doesn't have either of the other two programs, and the build fails. It wastes time and resources that our company needs.

0
Comment actions Permalink

When you configure build step and select a runner, the runner adds parameters to agent requirements list (if this logic is implemented inside this runner). And it knows nothing about programs which will be evoked inside build steps.

In your case you can add needed requirement manually. To define such properties on agent you may either specify them in the buildAgent.properties file, or set the environment variable on the build agent. Here is a detalied example how to configure it.

Also please read about agent pools, may be they will be useful in your case.

0

Please sign in to leave a comment.