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().