How to set the perforce VCS correctly?

Hi, experts!

Following is my perforce VCS setting:
port:    PSEBP4:1555
client:  BlueGlue_CI   (I've created the client workspace by P4V application)
user:    hana
password:  xxxx
path to P4 executable: C:\Program Files (x86)\Perforce\p4v.exe

When I click "Test connection", P4V report an error:
P4V: unrecognized option 'info'
try 'C:\Program Files (x86)\Perforce\p4v.exe -help' for more information

Then TeamCity show a Connection fail! dialog, which says:
Exit code for "C:\Program Files (x86)\Perforce\p4v.exe" -c BlueGlue_CI -u hana -p PSEBP4:1555 info is not zero: 1

I think P4V take 'info' as its parameter.

Same thing will happy when like:
P4V: unrecognized option 'changes'
try 'C:\Program Files (x86)\Perforce\p4v.exe -help' for more information
when regular check happens

So please... where's my fault?

2 comments
Comment actions Permalink

Thanks a lot!

0
Comment actions Permalink

Hi Albert

Please specify a path to command-line client p4.exe, not a visual client.

Michael

0

Please sign in to leave a comment.