email - Cannot send mail in Jenkins when Running it from war file -


i using jenkins version 2.7.1 in windows server 2008. running jenkins in java environment java -jar jenkins.war command.

i trying send mail smtp.office365.com -- getting error "com.sun.mail.smtp.smtpsendfailedexception: xxx.x.x.xx smtp; client not authenticated send anonymous mail during mail from"

i read need enable tls in jenkins.xml

but couldn't find jenkins.xml file present ?? if install msi file , run jenkins windows service can jenkins.xml file in c:\program files (x86)\jenkins

but running war file - have no jenkins folder in program files

could please me enable tls jenkins.war

if have deployed jenkins on tocat can set tls flag in setenv.bat file in tomcat conf folder.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -