4 messages in com.perforce.perforce-user[p4] HELP - Triggers and Daemons| From | Sent On | Attachments |
|---|---|---|
| Brian Taylor | 05 Apr 2002 07:33 | |
| Dirk Ringe | 05 Apr 2002 07:54 | |
| Mike Pagel | 05 Apr 2002 08:21 | |
| Diane Holt | 05 Apr 2002 14:29 |
| Subject: | [p4] HELP - Triggers and Daemons![]() |
|---|---|
| From: | Brian Taylor (btay...@aegiscorp.com) |
| Date: | 04/05/2002 07:33:15 AM |
| List: | com.perforce.perforce-user |
I'm doing research on automated testing... I think I want it to detect a keyword (e.g. "RUN_TEST"), kick off "ant" to do a build and run an automated test suite... I'd actually like to do it on a job basis, but it doesn't look like the hook is there... In fact, now that I think about it, I believe the only trigger available is pre-submit... that would present a problem... I was examining any perforce hooks that might support automated testing. I was disappointed to the extreme. There must be something I am overlooking. All I want to do is kick of a script if a SPECIFIC depot is updated... Sounds so EASY.... The script will be hook to an "ant" build engine that runs an automated test suite, publishes results, sends email, solves the mid-east crisis, you name it.
Perforce has to methods to accomplish this (that I know of), triggers and daemons. * Triggers are pre-update (we would want post update) and the dos trigger I experimented with was EXTREMELY flaky. * Daemons would seem the way to go. But there doesn't seem to be a way to examine metadata on a specific depot. I would want to be able to tell if there were activities on a specific depot, or maybe even specific directories in the depot (I can get down to the directory level with triggers)
I have scoured their website, it doesn't look like perforce supports what I want to do.... Is there something I am missing?
Brian
_____________________________________________________ Brian Taylor, SCM/Document Control Spec. Aegis Analytical Corporation 1376 Miners Drive, Suite 106, Lafayette, CO 80026, USA Tel: 303-926-0317 X 113 E-mail: btaylor at aegiscorp.com Web: http://www.aegiscorp.com
Manufacturing Informatics(R) for Process Improvement
_____________________________________________________ Confidentiality Notice: This communication may contain privileged or confidential information. If you are not the intended recipient, or an agent or employee responsible for delivering this communication to the intended recipient, or if you have received this communication in error, please do not print, copy, retransmit, disseminate or otherwise use the information. Also, please indicate to the sender that you have received this communication in error, and delete the copy you received. Thank you.




