Дженкинс не может разрешить электронную почту из Active Directory - PullRequest
0 голосов
/ 18 июня 2020
I have performed the Active Directory integration with the plugin. I am using TFS as a source control. Now whenever someone performs a check-in, the build is triggered. And it sends mail to the culprit developer in case of failure. But the issue is, it is not fetching the Mail Id from active directory but fetching from its own database.
Suppose a user with ID: A123456 performs check-in and so it tries to send mail to A123456@Domain.com. But it should fetch the mail from active directory as this is incorrect id. 

I am using Active Directory and TFS, But still it is going to resolve the Email fro JIRA.     

hudson.plugins.jira.JiraMailAddressResolver@495024 failed to resolve A123456. Ignoring and moving on
java.lang.NullPointerException
at hudson.plugins.jira.JiraMailAddressResolver.findMailAddressFor(JiraMailAddressResolver.java:35)
at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:125)
at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:747)
at hudson.plugins.tfs.model.TfsUserLookup.find(TfsUserLookup.java:40)

Кто-нибудь может подсказать, что нужно сделать?

...