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
Post a Comment