Build Agent Tools - Updating and Automated publishing

Hi

2 questions really.

1. Does an update to an agent tool mean the updated version is pushed out to all agents? So when i copy a new tool over an existing one in the .tools dir the new one is definitely pushed out to agents? I cant see anything in the docs about updating.

2. Is it possible to automate the publishing of an agent tool.

So Have a build in TC that builds a .NET app and then does "something" to publish it to the tools used by TC.

My Server doesn't have a build agent. If it did i could probably just copy the files to the .tools dir?

Thanks

5 comments
Comment actions Permalink

You must copy the files to the server in the .tools folder, then they are distributed automatically.

Details see https://confluence.jetbrains.com/display/TCD9/Installing+Agent+Tools

0
Comment actions Permalink

Thanks, but that doesn't really answer my questions. Those docs don't mention updates (i assumed this just works but wanted to confirm) and i'd like to know if people have automated the publishing of their own tools in TC.

0
Comment actions Permalink

I do not see the problem. Just copy your own tool in the .tools folder (e.g. copy in a build step). The agents are restarted automatically and can then use the new version of your tool.

0
Comment actions Permalink

My agents are not on the same machine as the server.

I could share the .tools folder and hard code the path to copy to but i was just wondering if there was something built in. I guess not..

0
Comment actions Permalink

Hi Justin,

  1. The tool is automatically distributed to all agents once it is updated.
  2. There is no build in functionality to share tools from agent to server/other agents. The recommended way is to set up common deployment process: create artifacts on agent and deploy them to the server machine. Then you can put it to the .tools directory on server.
0

Please sign in to leave a comment.