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

Incorrect mail address used for sending email notifications

    XMLWordPrintable

Details

    Description

      Incorrect email address is used for Git commits when sending email notifications, this can be seen in the console log for a failed build:

      Hudson Console:
      ---------------
      (...)
      Waiting for Hudson to finish collecting data
      ERROR: Illegal whitespace in address
      channel stopped
      ERROR: Illegal whitespace in address
      javax.mail.internet.AddressException: Illegal whitespace in address in string ``Geir Pettersen@comperio.no''

      Notice how the author's full name is used before the @ instead of the account name.
      By executing "git whatchanged" I can verify that the commit contains a correct email address in the author field:

      $ git whatchanged
      commit 53f56784f7299465e33f0cc483a397f23ea59fe5
      Author: Geir Gullestad Pettersen <ggp@comperio.no>
      Date: Mon Aug 9 02:03:35 2010 +0200

      hudson test...

      :100644 100644 5d2a1e7... fba468b... M src/main/java/no....

      Attachments

        Issue Links

          Activity

            gpettersen gpettersen created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            slide_o_mix Alex Earl made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            slide_o_mix Alex Earl made changes -
            Link This issue is duplicated by JENKINS-13715 [ JENKINS-13715 ]
            ndeloof Nicolas De Loof made changes -
            Assignee abayer [ abayer ] Nicolas De Loof [ ndeloof ]
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 137254 ] JNJira + In-Review [ 204440 ]

            People

              ndeloof Nicolas De Loof
              gpettersen gpettersen
              Votes:
              17 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: