Bamboo, Copy File from Server to Remote Agent.

Is there a know or preferred method, via API for example, for copying a speicific file from the Bamboo server to a given remote agent?

I'm trying to provide a workaround for using private keys with remote agents. Only I would like for Bamboo to distribute the private key currently in use.

1 answer

This widget could not be displayed.

It seems like it would be possible using ssh or alternately using cscript or wscript. I've done some stuff like that before (to recycle servers on a windows box for example). The only issue with it is that some of the scripts go off and never return (forking processes). (Not an editorial comment btw).

You would have to push the key file to the server using robocopy (or the like) or scp then execute the command on the remote server to import the file into the specific java keyfile using keytool I think. Let me know if you want more info along these lines.

Any Idea if its not possible still using the Java API? The same is easily achievable in Jenkins.

Could you share some of your snippets,in any case?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

34 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you