SCP plugin and directory specification

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SCP plugin and directory specification

Steve Prior
I've got a Java jar project which builds a jar file in a dist directory in the
workspace:

dist/SmarthomeYoicsVideo.jar

I'd like the SCP Hudson plugin to delivery this jar to
/usr/local/smarthome/SmarthomeYoicsVideo.jar on another machine, but can't seem
to get rid of the dist - it currently puts it in
/usr/local/smarthome/dist/SmarthomeYoicsVideo.jar.

I've got the Source configured as **/SmarthomeYoicsVideo.jar and
Destination set to /usr/local/smarthome/.

Is there any way to strip off the leading directory from the source path?

Steve