Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Jenkins Error: /usr/bin/p4 error in windows machine with jenkins

rajeshkumar created the topic: /usr/bin/p4 error in windows machine with jenkins
Issues:

[workspace] $ “C:\Program Files\Perforce\p4.exe” login -p
[workspace] $ /usr/bin/p4 login -p

Solution:

This must be related to value of P4USER, P4PORT, P4PASSWD or P4TICKET variable is not getting passed to Jenkins.
Try following..
Restart Machine or Restart Services OR Set P4USER, P4PORT, P4PASSWD or P4TICKET and Restart Jenkins Services again.

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)