Question

I am using Editable Email Notification plugin with Hudson. The version control tool used is SVN (Subversion). In the email extension plugin there is an option to send mail to "committers". If this option is enabled, it will fetch the user details from SVN and send mail to those people.

In our case SVN is configured with active directory(NT login) and hence hudson is trying to send mail to NTLogin@domain.com which is not correct. I have a text file with NT Logins of all people and their E-Mail ids.

Is there any way I can configure Hudson to read this text file and send email to the actual email ID instead of NTLogin@domain.com.

Please advice.

Était-ce utile?

La solution

To change the default email suffix (the @domain.com part):

  • Go to Manage Hudson
  • Click Configure System
  • Scroll down to E-mail Notification
  • Change Default user e-mail suffix to whatever you need it to be, for example @yourcompany.com
  • Click Save

This way, it will append NTLogin for each user with this suffix.

If your emails don't actually follow NTLogin@yourcompany.com standard, you can try to have Jenkins extract it from the AD information. Clear this Default user e-mail suffix field and leave it blank.

If that doesn't work (it depends on your AD configuration), you may need to overwrite the email address for each user individually:

  • Click on the People link
  • Select the user you want, then click Configure
  • Manually enter the email address for that user that you want.
  • Click Save

Note that for the user to appear in the People list, that user should be known to Hudson (i.e. either manually created in Hudson, or to have had committed something in the past that Hudson had checked out)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top