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

Perforce session ticket is not parsed correctly (again)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Windows XP
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: