Deploy to Windows CIFS share including all subfolder/recursivley

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Deploy to Windows CIFS share including all subfolder/recursivley

David Brossard
Hi all,
I am experimenting publishing files to w windows share using the "Send Files to a Windows Share" build step. When I do however it only send the files at the top level of my source directory, not the subfolder as well. My source files command line is something like:

      myfolder/*.*

Am I using the wrong syntax?
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Bap
Reply | Threaded
Open this post in threaded view
|

Re: Deploy to Windows CIFS share including all subfolder/recursivley

Bap
Quoting David Brossard <[hidden email]>:

> Hi all,
> I am experimenting publishing files to w windows share using the "Send
> Files to a Windows Share" build step. When I do however it only send the
> files at the top level of my source directory, not the subfolder as well.
> My source files command line is something like:
>
>       myfolder/*.*
>
> Am I using the wrong syntax?
> Thanks

yes.

use
myfolder/
or
myfolder/**
or
myfolder/**/*


>
> --
> 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 [hidden email].
> 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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


Reply | Threaded
Open this post in threaded view
|

Re: Deploy to Windows CIFS share including all subfolder/recursivley

David Brossard
That was the fix. Using MyFolder/ fixed it.
I am going to have to get used to these RegEx. Much different than Bash

On Tuesday, March 26, 2013 4:55:49 PM UTC-7, old hooky wrote:
Quoting David Brossard <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="vCic5AQ6Yg8J">dbro...@...>:

> Hi all,
> I am experimenting publishing files to w windows share using the "Send
> Files to a Windows Share" build step. When I do however it only send the
> files at the top level of my source directory, not the subfolder as well.
> My source files command line is something like:
>
>       myfolder/*.*
>
> Am I using the wrong syntax?
> Thanks

yes.

use
myfolder/
or
myfolder/**
or
myfolder/**/*


>
> --
> 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="vCic5AQ6Yg8J">jenkinsci-use...@googlegroups.com.
> 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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Deploy to Windows CIFS share including all subfolder/recursivley

KEVIN FLEMING (BLOOMBERG/ 731 LEXIN)
In reply to this post by David Brossard
Just to be pedantic... these are not regular expressions :-)

They are 'glob' patterns, and yes, POSIX-style shells use a very different syntax from Ant (which is what Jenkins uses).

----- Original Message -----
At: Mar 27 2013 12:00:31

That was the fix. Using MyFolder/ fixed it.
I am going to have to get used to these RegEx. Much different than Bash

On Tuesday, March 26, 2013 4:55:49 PM UTC-7, old hooky wrote:
>
> Quoting David Brossard <[hidden email] <javascript:>>:
>
> > Hi all,
> > I am experimenting publishing files to w windows share using the "Send
> > Files to a Windows Share" build step. When I do however it only send the
> > files at the top level of my source directory, not the subfolder as
> well.
> > My source files command line is something like:
> >
> > myfolder/*.*
> >
> > Am I using the wrong syntax?
> > Thanks
>
> yes.
>
> use
> myfolder/
> or
> myfolder/**
> or
> myfolder/**/*
>
>
> >
> > --
> > 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 [hidden email] <javascript:>.
> > 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 [hidden email].
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Bap
Reply | Threaded
Open this post in threaded view
|

Re: Deploy to Windows CIFS share including all subfolder/recursivley

Bap
"Kevin Fleming (BLOOMBERG/ 731 LEXIN)" <[hidden email]> wrote:
Just to be pedantic... these are not regular expressions :-)

They are 'glob' patterns, and yes, POSIX-style shells use a very different syntax from Ant (which is what Jenkins uses).

----- Original Message -----
At: Mar 27 2013 12:00:31

That was the fix. Using MyFolder/ fixed it.
I am going to have to get used to these RegEx. Much different than Bash

On Tuesday, March 26, 2013 4:55:49 PM UTC-7, old hooky wrote:
>
> Quoting David Brossard <[hidden email] <javascript:>>:
>
> > Hi all,
> > I am experimenting publishing files to w windows share using the "Send
> > Files to a Windows Share" build step. When I do however it only send the
> > files at the top level of my source directory, not the subfolder as
> well.
> > My source files command line is something like:
> >
> > myfolder/*.*
> >
> > Am I using the wrong syntax?
> > Thanks
>
> yes.
>
> use
> myfolder/
> or
> myfolder/**
> or
> myfolder/**/*
>
>
> >
> > --
> > 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 [hidden email] <javascript:>.
> > 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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


Ant
Ant patterns are documented here http://ant.apache.org/manual/dirtasks.html#patterns
And there are a few examples here https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over#PublishOver-Examplesody>

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.