I provided token with java command to install bamboo agent.
When I try to start the agent using bamboo_agent.sh, it gives this message: "
Security token is required for preliminary authentication, but none was provided. Please obtain the token from https://<bamboo-server>/admin/agent/addRemoteAgent.action
Is there a way to specify token in wrapper.conf ?
Yes, you can specify the security token in the wrapper. conf file for your Bamboo agent. To do this, follow these steps:
Open the wrapper. conf file in a text editor.
Add the following line at the end of the file, replacing <your_security_token> with the security token obtained from your Bamboo server:
wrapper. app. parameter.2=-Dbamboo. agent. security. token=<your_security_token>
Save the changes to the wrapper. conf file.
Restart the Bamboo agent using . /bamboo-agent. sh or the relevant command for your system.
By adding the security token to the wrapper. conf file, the Bamboo agent should now start without displaying the "Security token is required" message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.