When checking out a Perforce repository via a mapped view, the build fails when there were changes to the repository and the view path contains a two matching brackets and a dash between them, for example :
//depot/[S-B_Src]/... //jenkins-workspace/...
Attached, please find the Jenkins log illustrating the issue.