Create New Agent with Ant

I can't seem to find any info about how to create a new agent.
The default agent only supports the following build runners:

  • Command Line: Simple command execution


How can I create a new agent?
And also create one that supports Ant?

3 comments

hmmm
I stopped the service,
deleted the plugins directory
changed the buildAgent.properties and buildAgent.dist.properties so that name=Ant agent
then restarted the service and it seems to have added the following support.
This agent supports the following build runners:

  • Command Line: Simple command execution

  • Ant: Runner for Ant build.xml files

  • Duplicates finder: Runner for gathering IntelliJ IDEA duplicates results

  • Inspection: Runner for gathering IntelliJ IDEA inspections results

  • Ipr: Runner for IntelliJ IDEA project (.ipr) files

  • Maven2: Runner for Maven build file



Any idea why that happened?

I still cant work out how to have multiple agents though

0

Hi,

To install new agent go to Agents page and click Install Build Agents link in the top right corner.

Hope this helps,
KIR

0

In your case build agent updated plugins from the TeamCity server, so you got support
for different build runners on your build agent.

Build agent name has nothing common with build runners used on this agent.

Kind regards,
KIR

0

Please sign in to leave a comment.