【已解決】Jenkins構建成功但發送郵件失敗,報錯“Not sending mail to unregistered user xxx@xxx.com because your SCM claimed this was associated with a user ID ‘xxx which your security realm does not recognize; ”


問題描述:構建成后,但發送郵件失敗,具體報錯截圖如下:

 

 

 

原因:用戶在jenkins中名稱與發送郵件匯總設置不一樣且沒有勾選“Allow sending to unregistered users”時,導致不會向沒有在jenkins中注冊的用戶發送郵件。

解決方法一:設置,使兩處的配置一樣

 

 

  

 

 

 

 

 

解決方法二:修改系統配置,勾選“Allow sending to unregistered users”

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM