Issue Type: Bug Bug
Assignee: Rob Petti
Components: perforce
Created: 15/May/14 8:19 PM
Description:

If your perforce server is more secure, it only accepts ticket based authentication. Unfortunately, the Jenkins perforce plugin appears to have issues in this regard. Judging from the output, the commands generated are correct, but there is something that is amiss.

Build output snippet:
[test] $ /auto/perforce/p4bin/p4 login -a -p
[test] $ /auto/perforce/p4bin/p4 -P 618EXXXXXXXXXXXXXXXXBB180 workspace -o cmayeux:condor-main-js-ut-exp3-912254826

Running these exact commands on the slave outside of Jenkins yields the desired result. However, in the plugin, I get the following output:

Caught exception communicating with perforce. Perforce password (P4PASSWD) invalid or unset.com.tek42.perforce.PerforceException: Perforce password (P4PASSWD) invalid or unset.
at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:406)
at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:301)
at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:61)
at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1615)
...

Not sure what exactly is going wrong. I've verified my password six ways to Sunday. Note this only occurs when perforce is secured so as to not allow environment variables or .p4configs be used for the P4PASSWD.

Environment: Jenkins 1.554.1, perforce plugin 1.3.27, RHEL 5.5
Project: Jenkins
Priority: Major Major
Reporter: Caleb Mayeux
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to