That example was mostly to depict leveling, the named example shows the different "actual" directories - so no conflict. I'm wondering if there is a line ending issue? Jenkins is just not working when the second/third lines are added. When you look at the config.xml under the scm element (<projectPath>) what do you see?
thanks again for your help. On Wednesday, April 16, 2014 8:59:11 AM UTC-5, rginga wrote: > > Well you certainly can map multiple lines. We do it all the time. > Admittedly most are one line and almost all simply do not use the second > mapping. > > > > Is your example accurate for what you want to do? Isn’t your second line > negate your first line? using the – is correct to eliminate folder > structures. > > > > //DepotName/dir_level1/dir_level2... > //WorkspaceName/Workspace_dir/dir_level1... > > -//DepotName/dir_level1/dir_level2... //WorkspaceName/Workspace_dir... > > //DepotName/dir_level1/... //WorkspaceName/Workspace_dir... > > > > > > *From:* [email protected] <javascript:> [mailto: > [email protected] <javascript:>] *On Behalf Of *Mark Wilhelm > *Sent:* Tuesday, April 15, 2014 6:29 PM > *To:* [email protected] <javascript:> > *Subject:* Re: Perforce Client View Type - View Map with multiple lines... > > > > Thanks for the reply. I don't think that's it though. I have a number of > builds, and they don't have that ending slash. It won't run with my extra > lines in there. I took out the subsequent two lines, and it runs. But > that's not what I need. > > > > When I've been looking at examples, most (all but one) only have one line > in the view map. But I have to believe that multiples are allowed - it > would seem to be limiting without that. Having said that, how do I do it? > How do I also negate inclusion? > > > > > > On Tuesday, April 15, 2014 1:39:57 PM UTC-5, rginga wrote: > > Try putting the last slash on: > > > > //DepotName/dir_level1/dir_level2/... > //WorkspaceName/Workspace_dir/dir_level1/... > > > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Mark Wilhelm > *Sent:* Tuesday, April 15, 2014 1:30 PM > *To:* [email protected] > *Subject:* Perforce Client View Type - View Map with multiple lines... > > > > Hi, > > > > I'm trying to select different levels of directories out of a Perforce > Depot with the Jenkins Plugin for Perforce.It seems that only one statement > is allowed (or works) unless I'm missing something. > > > > For example... > > > > essence: > > //DepotName/dir_level1/dir_level2... > //WorkspaceName/Workspace_dir/dir_level1... > > -//DepotName/dir_level1/dir_level2... //WorkspaceName/Workspace_dir... > > //DepotName/dir_level1/... //WorkspaceName/Workspace_dir... > > > > example: > > //Foo/Star/dev... //Foo_bld/Foo_bld/Star... > > -//Foo/dev/bar... //Foo_bld/Foo_bld... > > //Foo/dev... //Foo_bld/Foo_bld... > > > > Directory: Use custom workspace = D:\workspaces > > Workspace (client) = Foo_bld > > > > The directories don't seem to be created (only one, and it seems only the > first one). > > > > What am I doing wrong? > > > > > > -- > 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/d/optout. > > -- > 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] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > -- 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/d/optout.
