Our Perforce server is set at security level 3 and the build scripts need 
to use the P4TICKET variable to perform a checkin.
 
It seems that the P4TICKET variable is only available when the plugin tries 
to communicate with Perforce, fails and then does a login.
So, in order to guarantee that the variable is defined for the job, I need 
to start each Jenkins jobs with a pre-SCM script that performs a Perforce 
Logoff.
This is working for me, but it's ugly. 
 
Is there a better way?
 
Richard
 
 

Reply via email to