If the slave and target server are unix like then scp is your friend. For windows things get a little more complex but if you can expose a share on the target you can just copy (windows to windows with unc paths) or for unix to windows use something like smbclient.
With windows the harder part may be getting your software to run depending what your deployment model is.
Hi James,
Thanks for update.
i am using all linux boxes for this task.
As i mentioned above my jenkins will get the code from Git and bundle it on server A, After this step i'm provisioning new VM in VMware infrastructure.
Now i want to move that code from Server A to newly Provisioned Server B.
As you mentioned i tried to use SCP plugin to transfer the code, but the challenge i'm facing here is SCP target has to be pre-configured ( but my target is always dynamic) in Jenkins(Correct me if i'm wrong). is there any chance to use scp command along with password..? since i'm not using key based authentication.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f11d9768-6877-4695-9a98-e7c65a8bb85f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.