Is there any way or workaround to have a perforce client-side trigger?
-
12-06-2021 - |
Question
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.
Solution
The Perforce Broker is a pretty nice tool for this: http://www.perforce.com/perforce/doc.current/manuals/p4sag/11_broker.html
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow