[p4] trigger change-content - compile before commit submission

Danny Bird Danny.Bird at Systemc.com
Mon Jan 15 05:45:44 PST 2007


Hi
 
Is it possible using the change-content trigger to sync out all the
files within the changelist before they are commited so they can be
compiled to make sure everything is fine with the files being submitted?
The idea is to make sure the source software compilation is never
broken.  Try as we may, compilation errors always slip in!
 
I've got the change-commit working fine, which does a build on the
changelist and emails the developers when they broke something, but
would be nice to pre-empt the submission.
 
My trigger runs a dos batch file that notifies a perforce build machine
that will sync the files and build the projects - if the build fails
then fail the submission.
 
Is it possible?
 
thanks
danny
 
 
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed ("the addressee"). If you have received this email in error please notify the system manager at System C Healthcare plc. This email and its attachments (if any) contain(s) confidential information the property of System C Healthcare plc and is/are intended only for the addressee. If you are not the addressee you should not use, disseminate, distribute or copy this e-mail or any attachment.

System C Healthcare plc.
Reg in England no: 1754990


More information about the perforce-user mailing list