开发者

Run TeamCity Build Step on a specific Agent

开发者 https://www.devze.com 2023-02-20 13:19 出处:网络
I\'ve got TeamCity installed and working, and I need to have a build step run on a particular build agent (everything\'s running on Windows, but we have a Mac portion I need to build as well).

I've got TeamCity installed and working, and I need to have a build step run on a particular build agent (everything's running on Windows, but we have a Mac portion I need to build as well).

How do I tell the build step what agent I want it to run on? I've seen this, but that references an entire build; I just want a particular step to run on a given agent.

Is this even开发者_如何学Go possible?


From what I am aware of, it is not possible. You may want a separate build configuration to build for mac.


Sharma is somewhat correct, and KIR has it completely correct.

I needed a build configuration for each server, Mac and Windows. Then I set a snapshot dependency from the Windows build on the Mac build (to make sure the Mac version builds completely first) and a artifact dependency from the same (to copy the resulting build output from the Mac to the Windows box). Then I modified the build process on the Windows box to include the artifacts, and voila, works like a charm.

0

精彩评论

暂无评论...
验证码 换一张
取 消