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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.