Search code examples
msbuildperforcepre-commit

Pre-commit build tools for Perforce


Are there any tools available to run pre-commit builds for Perforce and auto submit changes on successful execution?

I'm looking for a server side solution (unlike JetBrains teamcity VS addin which does it from client + has some others limitations like inability to add a job id) which can also queue up multiple check-ins


Solution

  • I think Electric Commander has a pre-flight capability. Might be worth a look. Otherwise you can use a change-content trigger to intercept a commit, invoke a build process with the changed files, and then approve or reject the submit.