FranStrentz
FranStrentz

Reputation: 117

Is there any way or workaround to have a perforce client-side trigger?

We don't have access to the server but we would like to run a code sniffer before submit the files to the depo. I know this is very simple having access to the server triggers but is there any possibility to have something like that in the client side? So if my script returns 1 it should cancel the submission operation.

Upvotes: 5

Views: 1174

Answers (1)

Bryan Pendleton
Bryan Pendleton

Reputation: 16359

The Perforce Broker is a pretty nice tool for this: http://www.perforce.com/perforce/doc.current/manuals/p4sag/11_broker.html

Upvotes: 3

Related Questions