Hi
Please refer to p4karl comment below for exact repro steps and error message. Error message pasted by me few lines below is incorrect.
----------------
I use p4 plugin in my free style jenkins jobs to sync down source from our perforce server with a spec file located in depot. We use perforce [ditto mappings|https://www.perforce.com/manuals/p4guide/Content/P4Guide/configuration.workspace_view.one-to-many.html] in our clientspec to map few files from one to many locations. While this works on our own machines with the p4 client, it fails on our jenkins job with warning like below.
Warning: Client Spec line invalid, ignoring. (&//depot/mysource/a.xml //sc1234-ws/mysource/v1/a.xml)
My clientspec view file has lines like
+/depot/mysource/a.xml //sc1234-ws/mysource/v1/a.xml
&/depot/mysource/a.xml //sc1234-ws/mysource/v2/a.xml
+/depot/mysource/b.xml //sc1234-ws/mysource/v1/b.xml
&/depot/mysource/b.xml //sc1234-ws/mysource/v2/b.xml
Are ditto mapping supported by this p4-plugin? And if yes, is this a bug? Please help.
Thanks