Quoting David Brossard <[email protected]>:

Hi all. New to Jenkins. So far it seems pretty straight forward but I have
one nagging problem I can't solve. I am trying to publish all files in a
folder on a remote server with the same folder name but add the Build Info
so it never overwrites the previous folder. I will then symlink to the
correct folder. I have included a screen shot of my config below.
This creates a folder similar to
/usr/local/nexus-2013-03-26_00-20-07/nexus. In the Source files I have
tried "nexus", "nexus/*" and "nexus/**/". How can I get rid of the second
/nexus directory?
Thanks

<https://lh6.googleusercontent.com/-ssW4FAsHVwc/UVDsrzEGP1I/AAAAAAAAABg/qcCkODxfm9g/s1600/temp.png>

Source files: nexus/
Remove prefix: nexus

Remote directory and Exec command look good - although depending on the remote os, you can probably get rid of the rm in the exec command and use ln -fs instead

HTH,
Bap.



Thanks

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to