-
Bug
-
Resolution: Fixed
-
Minor
-
None
When creating a Perforce Ticket Credential, Using a Ticket Value, the "Test Connection" fails with a valid ticket entered.
Repro:
p4: obtain a valid ticket from the jenkins build machine to p4d.
Jenkins: Create a Perforce ticket credential.
select radio "use p4tickets file", enter bogus path of "/crap/out"
select radio "Login with ticket value" and enter a valid ticket
Click "Test connection"
Expected: Success
Actual: Authentication Error: Unable to login.
It's the "test connection" failure that is misleading – why would I build if the test fails? Builds with this credential do work.
I've tracked down the problem --> the Test Connection ajax request sends parameter "ticket: ticketPathSet" when it should have sent "ticket: ticketValueSet".