More Information

Follow Us

Join our community of like minded
individuals and be the first to hear
about products, news and deals.

Newsletter



[Collapse]CodeCollaborator 5
 [Expand]Big Picture/support/viewarticle/20018/
 [Expand]Server Administration/support/viewarticle/20087/
 [Expand]Web User's Guide/support/viewarticle/20071/
 [Expand]Clients/support/viewarticle/20077/
 [Collapse]Version Control Integration/support/viewarticle/20031/
  [Expand]AccuRev Integration/support/viewarticle/20025/
  [Expand]Borland StarTeam Integration/support/viewarticle/20233/
  [Expand]CVS Integration/support/viewarticle/20086/
  [Expand]Git Integration/support/viewarticle/20223/
  [Expand]IBM CMVC Integration/support/viewarticle/20222/
  [Expand]IBM Rational ClearCase Integration/support/viewarticle/20224/
  [Expand]IBM Rational Team Concert Integration/support/viewarticle/20164/
  [Expand]IBM Rational Synergy Integration/support/viewarticle/20238/
  [Expand]Mercurial Integration/support/viewarticle/20236/
  [Expand]Microsoft Team Foundation Server Integration/support/viewarticle/20085/
  [Expand]Microsoft Visual SourceSafe Integration/support/viewarticle/20160/
  [Expand]MKS Source Integrity Integration/support/viewarticle/20237/
  [Collapse]Perforce Integration/support/viewarticle/20090/
    Perforce Server Integration/support/viewarticle/20076/
   [Expand]GUI Client/support/viewarticle/20118/
   [Expand]Command Line Client/support/viewarticle/20143/
    P4V / P4Win Integration/support/viewarticle/20228/
   [Expand]Perforce Server Triggers/support/viewarticle/20074/
  [Expand]SourceGear Vault Integration/support/viewarticle/20089/
  [Expand]Subversion Integration/support/viewarticle/20088/
  [Expand]Surround SCM Integration/support/viewarticle/20318/
 [Expand]External Integrations/support/viewarticle/20301/
 [Expand]Techniques & Best Practices/support/viewarticle/20302/
 [Expand]Appendices/support/viewarticle/20078/
Updated: 4/18/2011 Applies To: CodeCollaborator 5 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent

Perforce Server-Side Triggers

Top Previous Next

Triggers recommended for Perforce

ccollab admin trigger ensure-review-started - Changelist cannot be submitted until review of this changelist exists

ccollab admin trigger ensure-reviewed - Changelist cannot be submitted until review of this changelist has been completed

ccollab admin trigger ensure-content-reviewed - Changelist cannot be submitted until review completed & file list/content is unchanged

ccollab admin trigger update-changelist - Automatically update Perforce changelist with information about the review of that changelist

The ensure-review-started, ensure-reviewed, or ensure-content-reviewed triggers ensure that changelists cannot be submitted unless certain conditions are met. If a user attempts to submit a changelist that doesn't meet those conditions, an error message describing the unfulfilled conditions will be displayed and the changelist will not be submitted. If the conditions are met, the submit will be allowed to continue normally.
The update-changelist trigger adds or updates a one-line description in the changelist description automatically every time a changelist is edited or submitted . This means users can see the data update whenever they edit the description text. This trigger uses the ${...} variable substitution subsystem to let you insert dynamic data, which could include the review id, participants, and so on. See the substitution system topic for details on what variables you can include.

For more information about Perforce triggers in general, see Chapter 6 of the Perforce System Administrator's Guide.



© 2012 SmartBear Software. All rights reserved.
Email Send feedback on this document
 

+1 978-236-7900

© 2012 SmartBear Software. All rights reserved.
Home | Privacy | Terms of Use | About | Contact Us | Site Map | Print