I use the YUICompressor to compress files during my TeamCity builds. I'd like to know the best way and common practice on getting the yuicompressor-2.4.7.jar file to my TeamCity agents and where to put the file.

I am not sure if the common practice is to manually put the file on the agent machine or to somehow make the file a part of another build and use that build's artifacts.

Is there an automated way via TeamCity to push files like this to agents?

有帮助吗?

解决方案

TeamCity supports automatic distribution of tools to agents using the .tools folder. Here are details: http://confluence.jetbrains.com/display/TCD8/Installing+Agent+Tools

其他提示

Just keep it in repository. It is CI best practice.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top