Since updating to the latest version of Jenkins (1.535) and the perforce plugin (1.3.26) I get the following error:
Using remote perforce client: BuildMachine_PAULS-MAC-MINI
[workspace] $ /Applications/p4 workspace -o BuildMachine_PAULS-MAC-MINI
- Perforce client workspace 'BuildMachine_PAULS-MAC-MINI' doesn't exist.
- Please create it, or allow Jenkins to manage clients on it's own.
- If the client name mentioned above is not what you expected,
- check your 'Client name format for slaves' advanced config option.
ERROR: Error accessing perforce workspace.
My project is a matrix project building on both a Mac and a PC. The PC build works fine, the above error is on the Mac. The matrix contains 80 possible configurations, so due to the license limitations on Perforce I can't create a separate workspace for each config. Instead, I have one workspace for PC and one for Mac. This has worked fine so far.
The workspace named in the output above does exist, and when the command line was entered manually on the build machine, it worked as expected. The Mac slave is connected to the Windows master using the java Jenkins slave agent.
Please let me know if you need any additional information.