Hi,

I dont want to set the P4PASSWD in jobs instead i want to P4TICKET variable 
which is set to $HOME/.p4tickets should be used all the time. So i provide 
only USERNAME/PORT in job configuration.

But i am getting error such as below; (Jenkins is setup in windows)

Started by user anonymous <http://localhost:8080/user/null>
Building in workspace C:\Tools\jenkins1.484\workspace\rajesh
Using master perforce client: 
[rajesh] $ p4 workspace -o 
[rajesh] $ p4 login -p
[rajesh] $ /usr/bin/p4 login -p
Caught exception communicating with perforce. Login attempt failed: Password 
invalid.com.tek42.perforce.PerforceException: Login attempt failed: Password 
invalid.
        at 
com.tek42.perforce.parse.AbstractPerforceTemplate.p4Login(AbstractPerforceTemplate.java:615)
        at 
com.tek42.perforce.parse.AbstractPerforceTemplate.login(AbstractPerforceTemplate.java:556)
        at 
com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:372)
        at 
com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:292)
        at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:61)
        at 
hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1461)
        at 
hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1422)
        at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:793)
        at hudson.model.AbstractProject.checkout(AbstractProject.java:1256)
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
        at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
        at hudson.model.Run.execute(Run.java:1502)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:236)
ERROR: Unable to communicate with perforce. Login attempt failed: Password 
invalid.Finished <http://stacktrace.jenkins-ci.org/search?query=Finished>: 
FAILURE


Reply via email to