Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,442
Community Members
 
Community Events
168
Community Groups

Access denied error when running robocopy from the bamboo server.

I am running Bamboo on server A(it is also the building agent) after the artifact file is created I am trying to copy it using robocopy to server "B" and I get an access denied error. But if I run it form a standard command prompt, it works fine. I am logged into server "A" when I run it.

The command is pretty straight forward

c:\Atlassian\bamboo-home\xml-data\build-dir\FTD-BB-JOB1\BB_Test\Artifact \\serverB\c$\PreDeployment\

1 answer

0 votes
Jimmy Seddon Community Leader Jul 04, 2019

Hi @Rick Morayniss,

Welcome to the Community!

The Bamboo server will attempt to proform operations as whatever account is running the server instance (or the Windows Service on Windows).

Does the user that is running the Bamboo instance have appropriate permissions to execute the robocopy to server B?

I hope that helps!

-James

Thanks for the reply.

Do you mean my credentials, or the bamboo service credentials(in this case is "Local System Account"

Jimmy Seddon Community Leader Jul 04, 2019

Yes, if you are running as local system, you should change that to a service account (or yourself temporarily to prove it will work) that has permissions on both Server A & B.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events