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

Perforce session ticket is not parsed correctly (again)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None
    • Windows XP

      The perforce plugin attempts to retrieve the perforce ticket from the second line of the "p4 login -p" command.

      However, the ticket is not always on the second line (On our setup, the second line is "Success: Password verified")

      The bug comes from in http://jenkins-ci.org/commit/perforce-plugin/707d9d2251eec668e0ac1ff816477589471e65c4 for issue JENKINS-15862, which forces the ticket to be parsed from the second line (The previous behavior always used the last line).

      Suggestion: Use the regex "[0-9A-F]

      {32}

      " to find the line containing the perforce ticket

            rpetti Rob Petti
            ldore ldore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: