I have a Question about the Copy to Slave Plugin

I have Jenkins installed on a Windows Server (Master) and I have few shell
scripts that I want to execute on another Linux Server (defined as Slave).



These scripts have to run on the code that I sync to the Master Jenkins
server, and therefore I want to copy it from the Master to the Slave on
each Job iteration.



To do that I am using the Copy to Slave plugin, and here I need your
assistance.



The files on the Windows server that I need to copy are located on : *
"C:\JENKINS\BUILDS\Build_XXXXX"*



As the base Folder is *"C:\JENKINS\userConntent"*, then I enter this string
to the *"Files to copy"* box – *"..\BUILDS\$currentBuild\**/*"* ($currentBuild
is a parameter that I save on the Job and it is used to get the latest
Build Number)



Unfortunately, it doesn't work and I believe that I am using a wrong format
/ syntax.



I also tried to test it by trying to copy a file from *"C:\JENKINS"* root
folder which is called *"config.xml"* by putting the string *"..\config.xml
"* in the *"Files to copy"* box, still with no success.



Can you please tell me what I miss?

Reply via email to