How to change the name and description of the remote agent seen in the Bamboo build logs

Still need help?

The Atlassian Community is here for you.

Ask the community

 

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

The purpose of this article is to explain how we can change the name and details of the remote agent seen in Bamboo Build logs.

Environment

The solution was tested on the Bamboo 9.2.12 version. 

Solution

When a build is run on the remote agent, the below details are printed in Bamboo build logs related to the Remote agent which ran the build:

Build SCRIP - TIC - Default Job #65 (SCRIP-TIC-JOB1-65) is being prepared for building on agent bamboo-agent, bamboo version: 9.2.12
Remote agent on host bamboo-agent new

In the above example, in the first line, the remote agent name (bamboo-agent) is present, and in the second line, it tells us about the description (Remote agent on host bamboo-agent new) of the remote agent which ran this particular build. 

These details are taken from <bamboo-agent-home>bamboo-agent.cfg.xml file, example below:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configuration>
        
    <buildWorkingDirectory>/var/atlassian/application-data/bamboo-agent/xml-data/build-dir</buildWorkingDirectory>

    <agentUuid>3db145eb-3c5f-463c-b7fb-7a0510c1ff5b</agentUuid>

    <agentDefinition>

        <id>786434</id>

        <name>bamboo-agent</name>

        <description>Remote agent on host bamboo-agent new</description>

    </agentDefinition>

</configuration>

We can change the <name></name> and <description></description> tags to change the respective values

Last modified on Jun 14, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.