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

Email-adresses is not fetched in correct format

XMLWordPrintable

      If you connect jenkins with Crowd (SSO) User profiles in Jenkins users get emails like "firstname lastname (firstname.lastname@domain.com)" instead of just "firstname.lastname@domain.com"

      ------------------------------------------------------------------

      Adding recipients from project recipient list
      {{ Collecting change authors...}}
      {{ build: 3}}
      {{ adding author: Firstname Lastname (firstname.lastname)}}
      Not sending mail to user firstname.lastname@domain.com with no permission to view JobXYU ยป feature/XY-53 #3Adding Firstname Lastname (firstname.lastname@domain.com) with address Firstname Lastname (firstname.lastname@domain.com)
      Analyzing: Firstname,Lastname,(firstname.lastname@domain.com)
      Looking for: Firstname
      {{ starting at: 0}}
      {{ firstFoundIdx: 0}}
      {{ firstFoundIdx-substring: Firstname,Lastname,(firstname.lastname@domain.com)}}
      {{ => found type: 0}}
      Looking for: Lastname
      {{ starting at: 9}}
      {{ firstFoundIdx: 9}}
      {{ firstFoundIdx-substring: Lastname,(firstname.lastname@domain.com)}}
      {{ => found type: 0}}
      Analyzing: Firstname,Lastname,(firstname.lastname@domain.com)
      Looking for: Firstname
      {{ starting at: 0}}
      {{ firstFoundIdx: 0}}
      {{ firstFoundIdx-substring: Firstname,Lastname,(firstname.lastname@domain.com)}}
      {{ => found type: 0}}
      Looking for: Lastname
      {{ starting at: 9}}
      {{ firstFoundIdx: 9}}
      {{ firstFoundIdx-substring: Lastname,(firstname.lastname@domain.com)}}
      {{ => found type: 0}}
      Analyzing: Firstname,Lastname,(firstname.lastname@domain.com)
      Looking for: Firstname
      {{ starting at: 0}}
      {{ firstFoundIdx: 0}}
      {{ firstFoundIdx-substring: Firstname,Lastname,(firstname.lastname@domain.com)}}
      {{ => found type: 0}}
      Looking for: Lastname
      {{ starting at: 9}}
      {{ firstFoundIdx: 9}}
      {{ firstFoundIdx-substring: Lastname,(firstname.lastname@domain.com)}}
      {{ => found type: 0}}
      Adding recipients from trigger recipient list
      Successfully created MimeMessage
      Sending email to: Firstname firstname.lastname@domain.com
      Successfully sent to the following addresses: firstname.lastname@domain.com
      Error sending to the following INVALID addresses: Firstname

      ------------------------------------------------------------------

            dumam Bartosz Nowak
            benbrummer Benjamin Brummer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: