When your pipeline has a single filespec in the depotSource like this
Â
p4sync charset: 'none',
               <snip>
                source: depotSource('//depot/branch/...')
Â
Then the generated client view is
 //depot/branch/...  //P4_CLIENT/...
Â
This is request for that client view to be like it would be if you had two or more filespecs:
//depot/branch/...  //P4_CLIENT/depot/branch/...
Â
Use case:Â Â all existing "make" files assume a branch name in the path.
Workaround:
add a second depotPath to the list - e.g., source: depotSource('//depot/branch/...' '//depot/not/there')
Â
Code:
In org.jenkinsci.plugins.p4.client.ViewMapHelper.java, allow an option to make multi = true regardless of views.size().
Â