Jenkins picking up Middle name of the user as the last name via variable "BUILD_USER_LAST_NAME"

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: build-user-vars-plugin
    • None
    • Environment:
      Jenkins ver. 1.547

      I am using Google Login Plugin v1.1

      My script is

      echo Build User : $BUILD_USER
      echo First Name : $BUILD_USER_FIRST_NAME
      echo Last Name : $BUILD_USER_LAST_NAME
      echo Build User ID : $BUILD_USER_ID

      and output is

      Build User : Gurpreet Singh Bawa
      First Name : Gurpreet
      Last Name : Singh
      Build User ID : gurpreet.bawa@snapdeal.com

      The last name should be picked as "Bawa" and not "Singh"
      I am not able to find a way to take "Bawa" as the Last Name. Please help me here.

        1. 1.png
          1.png
          201 kB
        2. 2.png
          2.png
          224 kB

            Assignee:
            Unassigned
            Reporter:
            Deepak Goel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: