Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27870

p4-plugin: "Test Connection" misleadingly fails for ticket cred when using ticket value

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • p4-plugin
    • 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".

            Unassigned Unassigned
            joel_brown Joel Brown
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: