[p4] p4 triggers executing as?

Robert Cowham robert at vizim.com
Mon Oct 6 18:50:58 PDT 2008


I always explicitly pass the user to use to my trigger framework as a
parameter.

I also have an option to dump out existing settings on any failure
(particularly password related) as it has bitten me so many times in the
past :) 

See my version of P4Trigger.rb

If not using such a framework, then dump out "p4 set" and "p4 info" as the
first thing to see what it is finding/picking up.

> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Brad Holt
> Sent: 06 October 2008 17:20
> To: perforce-user at perforce.com
> Subject: [p4] p4 triggers executing as?
> 
> Hey,
> 
> I'm having a problem with setting up the triggers on a new 
> server that's being configured.  These are the same triggers 
> that were running on the old server, but they are failing 
> now.  I am seeing the:
> 
> 'trigger_name' validation failed: Perforce password 
> (P4PASSWD) invalid or unset.
> 
> When I have it dump the output of when it is trying to run a 
> "p4 describe -s".  The "p4 set" output from the trigger shows 
> that it looks like the trigger has me set as the default 
> (P4USER), which is confusing to me.  I would have thought it 
> was "SYSTEM".  Anyway, I'm a bit confused.  As the new server 
> is currently configured there is no password set for user 
> SYSTEM either.
> 
> What the heck?
> 
> Windows 2003 x64
> Server version: P4D/NTX64/2007.2/154467
> 
> Thanks much.



More information about the perforce-user mailing list