Re: Outlook365 email notification is failing

2014-04-16 Thread Slide
Jenkins won't use the tomcat mail configuration. You have the set it up in
Jenkins.
On Apr 15, 2014 10:19 PM, "Munaf Kotawdekar"  wrote:

> Hi,
>
> I have not configured anything in Jenkins config file. Please find the
> config.xml below.
> I am using tomcat's server.xml for email configuration which I sent you
> earlier. Please check mail/session element in that.
>
> 
> 
>   
>   1.539
>   2
>   NORMAL
>   true
>class="hudson.security.ProjectMatrixAuthorizationStrategy">
>
> com.cloudbees.plugins.credentials.CredentialsProvider.Create:admin
>
> com.cloudbees.plugins.credentials.CredentialsProvider.Delete:admin
>
> com.cloudbees.plugins.credentials.CredentialsProvider.ManageDomains:admin
>
> com.cloudbees.plugins.credentials.CredentialsProvider.Update:admin
>
> com.cloudbees.plugins.credentials.CredentialsProvider.View:admin
> hudson.model.Computer.Build:admin
> hudson.model.Computer.Configure:admin
> hudson.model.Computer.Connect:admin
> hudson.model.Computer.Create:admin
> hudson.model.Computer.Delete:admin
> hudson.model.Computer.Disconnect:admin
> hudson.model.Hudson.Administer:admin
>
> hudson.model.Hudson.ConfigureUpdateCenter:admin
> hudson.model.Hudson.Read:admin
> hudson.model.Hudson.Read:munaf.kotawdekar
> hudson.model.Hudson.Read:parvez.hajiani
> hudson.model.Hudson.RunScripts:admin
> hudson.model.Hudson.UploadPlugins:admin
> hudson.model.Item.Build:admin
> hudson.model.Item.Cancel:admin
> hudson.model.Item.Configure:admin
> hudson.model.Item.Create:admin
> hudson.model.Item.Delete:admin
> hudson.model.Item.Discover:admin
> hudson.model.Item.Read:admin
> hudson.model.Item.Workspace:admin
> hudson.model.Run.Delete:admin
> hudson.model.Run.Update:admin
> hudson.model.View.Configure:admin
> hudson.model.View.Create:admin
> hudson.model.View.Delete:admin
> hudson.model.View.Read:admin
> hudson.scm.SCM.Tag:admin
>   
>plugin="crowd2@1.6">
> http://spg.bsil.com:8095/crowd/
> jenkins
> jenkins
> 
> false
> false
> 2
>   
>class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
>   ${ITEM_ROOTDIR}/workspace
>   ${ITEM_ROOTDIR}/builds
>   
> false
>   
>   
>   
>   
>   
>   
>   5
>   0
>   
> 
>   
>   All
>   false
>   false
>   
> 
>   
>   All
>   9002
>   
>   
>   
>   true
> 
>
>
>
> On Tue, Apr 15, 2014 at 6:00 PM, Slide  wrote:
>
>> I meant your global config that you are using for email in Jenkins.
>>
>>
>> On Mon, Apr 14, 2014 at 9:55 PM, Munaf Kotawdekar wrote:
>>
>>> Hi,
>>>
>>> Please find below configuration file:
>>>
>>>  
>>> 
>>> >>   type="org.apache.catalina.UserDatabase"
>>>   description="User database that can be updated and saved"
>>>
>>> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>>>   pathname="conf/tomcat-users.xml" />
>>>
>>> >> auth="Container"
>>> type="javax.mail.Session"
>>> mail.smtp.host="pod51021.outlook.com"
>>> mail.smtp.port="587"
>>> mail.smtp.auth="true"
>>> mail.smtp.user="em...@mycompany.com"
>>> mail.smtp.password=""
>>> mail.smtp.starttls.enable="true"
>>> mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
>>>   />
>>>   
>>>
>>> Is there any other seting. I remember setting starttls parameter in
>>> Jenkins startup as a JVM option. Cant remember where this setting needs to
>>> be entered.
>>>
>>> Thanks,
>>> Munaf
>>>
>>>
>>> On Fri, Apr 11, 2014 at 7:45 PM, Slide  wrote:
>>>
 Can you post your configuration? I helped someone some time back get it
 working, but I don't remember everything we did. If I remember correctly,
 the admin email address had to match the user that you are using in the
 authentication. You also need to NOT use SSL, but enable STARTTLS.


 On Thu, Apr 10, 2014 at 10:50 PM, Munaf Kotawdekar wrote:

> Hi,
> I have configured outlook 365 email to work with Jenkins for
> notifications when build fails. Somehow it is not working. I have
> configured appropriate settings for Outlook online and also setup required
> TLS parameter in startup.
>
>
>  I get the following error:
>
> ERROR: No authentication mechansims supported by both server and client
> *javax.mail.AuthenticationFailedException*:
> No authentication mechansims supported by both server and client
> at
> *com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)*
> at
> *com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)*
> at 
> *javax.ma

Re: Outlook365 email notification is failing

2014-04-15 Thread Munaf Kotawdekar
Hi,

I have not configured anything in Jenkins config file. Please find the
config.xml below.
I am using tomcat's server.xml for email configuration which I sent you
earlier. Please check mail/session element in that.



  
  1.539
  2
  NORMAL
  true
  

com.cloudbees.plugins.credentials.CredentialsProvider.Create:admin

com.cloudbees.plugins.credentials.CredentialsProvider.Delete:admin

com.cloudbees.plugins.credentials.CredentialsProvider.ManageDomains:admin

com.cloudbees.plugins.credentials.CredentialsProvider.Update:admin

com.cloudbees.plugins.credentials.CredentialsProvider.View:admin
hudson.model.Computer.Build:admin
hudson.model.Computer.Configure:admin
hudson.model.Computer.Connect:admin
hudson.model.Computer.Create:admin
hudson.model.Computer.Delete:admin
hudson.model.Computer.Disconnect:admin
hudson.model.Hudson.Administer:admin
hudson.model.Hudson.ConfigureUpdateCenter:admin
hudson.model.Hudson.Read:admin
hudson.model.Hudson.Read:munaf.kotawdekar
hudson.model.Hudson.Read:parvez.hajiani
hudson.model.Hudson.RunScripts:admin
hudson.model.Hudson.UploadPlugins:admin
hudson.model.Item.Build:admin
hudson.model.Item.Cancel:admin
hudson.model.Item.Configure:admin
hudson.model.Item.Create:admin
hudson.model.Item.Delete:admin
hudson.model.Item.Discover:admin
hudson.model.Item.Read:admin
hudson.model.Item.Workspace:admin
hudson.model.Run.Delete:admin
hudson.model.Run.Update:admin
hudson.model.View.Configure:admin
hudson.model.View.Create:admin
hudson.model.View.Delete:admin
hudson.model.View.Read:admin
hudson.scm.SCM.Tag:admin
  
  
http://spg.bsil.com:8095/crowd/
jenkins
jenkins

false
false
2
  
  
  ${ITEM_ROOTDIR}/workspace
  ${ITEM_ROOTDIR}/builds
  
false
  
  
  
  
  
  
  5
  0
  

  
  All
  false
  false
  

  
  All
  9002
  
  
  
  true




On Tue, Apr 15, 2014 at 6:00 PM, Slide  wrote:

> I meant your global config that you are using for email in Jenkins.
>
>
> On Mon, Apr 14, 2014 at 9:55 PM, Munaf Kotawdekar wrote:
>
>> Hi,
>>
>> Please find below configuration file:
>>
>>  
>> 
>> >   type="org.apache.catalina.UserDatabase"
>>   description="User database that can be updated and saved"
>>
>> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>>   pathname="conf/tomcat-users.xml" />
>>
>> > auth="Container"
>> type="javax.mail.Session"
>> mail.smtp.host="pod51021.outlook.com"
>> mail.smtp.port="587"
>> mail.smtp.auth="true"
>> mail.smtp.user="em...@mycompany.com"
>> mail.smtp.password=""
>> mail.smtp.starttls.enable="true"
>> mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
>>   />
>>   
>>
>> Is there any other seting. I remember setting starttls parameter in
>> Jenkins startup as a JVM option. Cant remember where this setting needs to
>> be entered.
>>
>> Thanks,
>> Munaf
>>
>>
>> On Fri, Apr 11, 2014 at 7:45 PM, Slide  wrote:
>>
>>> Can you post your configuration? I helped someone some time back get it
>>> working, but I don't remember everything we did. If I remember correctly,
>>> the admin email address had to match the user that you are using in the
>>> authentication. You also need to NOT use SSL, but enable STARTTLS.
>>>
>>>
>>> On Thu, Apr 10, 2014 at 10:50 PM, Munaf Kotawdekar wrote:
>>>
 Hi,
 I have configured outlook 365 email to work with Jenkins for
 notifications when build fails. Somehow it is not working. I have
 configured appropriate settings for Outlook online and also setup required
 TLS parameter in startup.


  I get the following error:

 ERROR: No authentication mechansims supported by both server and client
 *javax.mail.AuthenticationFailedException*:
 No authentication mechansims supported by both server and client
 at
 *com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)*
 at
 *com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)*
 at 
 *javax.mail.Service.connect(Service.java:317)*
 at 
 *javax.mail.Service.connect(Service.java:176)*
 at 
 *javax.mail.Service.connect(Service.java:125)*
 at 
 *javax.mail.Transport.send0(Transport.java:194)*

Re: Outlook365 email notification is failing

2014-04-15 Thread Slide
I meant your global config that you are using for email in Jenkins.


On Mon, Apr 14, 2014 at 9:55 PM, Munaf Kotawdekar  wrote:

> Hi,
>
> Please find below configuration file:
>
>  
> 
>type="org.apache.catalina.UserDatabase"
>   description="User database that can be updated and saved"
>   factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>   pathname="conf/tomcat-users.xml" />
>
>  auth="Container"
> type="javax.mail.Session"
> mail.smtp.host="pod51021.outlook.com"
> mail.smtp.port="587"
> mail.smtp.auth="true"
> mail.smtp.user="em...@mycompany.com"
> mail.smtp.password=""
> mail.smtp.starttls.enable="true"
> mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
>   />
>   
>
> Is there any other seting. I remember setting starttls parameter in
> Jenkins startup as a JVM option. Cant remember where this setting needs to
> be entered.
>
> Thanks,
> Munaf
>
>
> On Fri, Apr 11, 2014 at 7:45 PM, Slide  wrote:
>
>> Can you post your configuration? I helped someone some time back get it
>> working, but I don't remember everything we did. If I remember correctly,
>> the admin email address had to match the user that you are using in the
>> authentication. You also need to NOT use SSL, but enable STARTTLS.
>>
>>
>> On Thu, Apr 10, 2014 at 10:50 PM, Munaf Kotawdekar wrote:
>>
>>> Hi,
>>> I have configured outlook 365 email to work with Jenkins for
>>> notifications when build fails. Somehow it is not working. I have
>>> configured appropriate settings for Outlook online and also setup required
>>> TLS parameter in startup.
>>>
>>>
>>>  I get the following error:
>>>
>>> ERROR: No authentication mechansims supported by both server and client
>>> *javax.mail.AuthenticationFailedException*:
>>> No authentication mechansims supported by both server and client
>>> at
>>> *com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)*
>>> at
>>> *com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)*
>>> at 
>>> *javax.mail.Service.connect(Service.java:317)*
>>> at 
>>> *javax.mail.Service.connect(Service.java:176)*
>>> at 
>>> *javax.mail.Service.connect(Service.java:125)*
>>> at 
>>> *javax.mail.Transport.send0(Transport.java:194)*
>>> at 
>>> *javax.mail.Transport.send(Transport.java:124)*
>>> at 
>>> *hudson.tasks.MailSender.execute(MailSender.java:116)*
>>> at 
>>> *hudson.tasks.Mailer.perform(Mailer.java:117)*
>>> at 
>>> *hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*
>>> at
>>> *hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)*
>>> at
>>> *hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)*
>>> at 
>>> *hudson.model.Build$BuildExecution.post2(Build.java:183)*
>>> at
>>> *hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)*
>>> at 
>>> *hudson.model.Run.execute(Run.java:1690)*
>>> at 
>>> *hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)*
>>> at 
>>> *hudson.model.ResourceController.execute(ResourceController.java:88)*
>>> at 
>>> *hudson.model.Executor.run(Executor.java:246)*

Re: Outlook365 email notification is failing

2014-04-14 Thread Munaf Kotawdekar
Hi,

Please find below configuration file:

 




  

Is there any other seting. I remember setting starttls parameter in Jenkins
startup as a JVM option. Cant remember where this setting needs to be
entered.

Thanks,
Munaf


On Fri, Apr 11, 2014 at 7:45 PM, Slide  wrote:

> Can you post your configuration? I helped someone some time back get it
> working, but I don't remember everything we did. If I remember correctly,
> the admin email address had to match the user that you are using in the
> authentication. You also need to NOT use SSL, but enable STARTTLS.
>
>
> On Thu, Apr 10, 2014 at 10:50 PM, Munaf Kotawdekar wrote:
>
>> Hi,
>> I have configured outlook 365 email to work with Jenkins for
>> notifications when build fails. Somehow it is not working. I have
>> configured appropriate settings for Outlook online and also setup required
>> TLS parameter in startup.
>>
>>
>>  I get the following error:
>>
>> ERROR: No authentication mechansims supported by both server and client
>> *javax.mail.AuthenticationFailedException*:
>> No authentication mechansims supported by both server and client
>> at 
>> *com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)*
>> at
>> *com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)*
>> at 
>> *javax.mail.Service.connect(Service.java:317)*
>> at 
>> *javax.mail.Service.connect(Service.java:176)*
>> at 
>> *javax.mail.Service.connect(Service.java:125)*
>> at 
>> *javax.mail.Transport.send0(Transport.java:194)*
>> at 
>> *javax.mail.Transport.send(Transport.java:124)*
>> at 
>> *hudson.tasks.MailSender.execute(MailSender.java:116)*
>> at 
>> *hudson.tasks.Mailer.perform(Mailer.java:117)*
>> at 
>> *hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*
>> at
>> *hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)*
>> at
>> *hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)*
>> at 
>> *hudson.model.Build$BuildExecution.post2(Build.java:183)*
>> at
>> *hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)*
>> at 
>> *hudson.model.Run.execute(Run.java:1690)*
>> at 
>> *hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)*
>> at 
>> *hudson.model.ResourceController.execute(ResourceController.java:88)*
>> at 
>> *hudson.model.Executor.run(Executor.java:246)*
>> Finished: FAILURE
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-users+unsubscr...@googlegroups.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Website: http://earl-of-code.com
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/5wlB3haErO4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.

Re: Outlook365 email notification is failing

2014-04-11 Thread Slide
Can you post your configuration? I helped someone some time back get it
working, but I don't remember everything we did. If I remember correctly,
the admin email address had to match the user that you are using in the
authentication. You also need to NOT use SSL, but enable STARTTLS.


On Thu, Apr 10, 2014 at 10:50 PM, Munaf Kotawdekar  wrote:

> Hi,
> I have configured outlook 365 email to work with Jenkins for notifications
> when build fails. Somehow it is not working. I have configured appropriate
> settings for Outlook online and also setup required TLS parameter in
> startup.
>
>
>  I get the following error:
>
> ERROR: No authentication mechansims supported by both server and client
> *javax.mail.AuthenticationFailedException*:
> No authentication mechansims supported by both server and client
> at 
> *com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)*
> at
> *com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)*
> at 
> *javax.mail.Service.connect(Service.java:317)*
> at 
> *javax.mail.Service.connect(Service.java:176)*
> at 
> *javax.mail.Service.connect(Service.java:125)*
> at 
> *javax.mail.Transport.send0(Transport.java:194)*
> at 
> *javax.mail.Transport.send(Transport.java:124)*
> at 
> *hudson.tasks.MailSender.execute(MailSender.java:116)*
> at 
> *hudson.tasks.Mailer.perform(Mailer.java:117)*
> at 
> *hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*
> at
> *hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)*
> at
> *hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)*
> at 
> *hudson.model.Build$BuildExecution.post2(Build.java:183)*
> at
> *hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)*
> at 
> *hudson.model.Run.execute(Run.java:1690)*
> at 
> *hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)*
> at 
> *hudson.model.ResourceController.execute(ResourceController.java:88)*
> at 
> *hudson.model.Executor.run(Executor.java:246)*
> Finished: FAILURE
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Outlook365 email notification is failing

2014-04-10 Thread Munaf Kotawdekar
Hi,
I have configured outlook 365 email to work with Jenkins for notifications 
when build fails. Somehow it is not working. I have configured appropriate 
settings for Outlook online and also setup required TLS parameter in 
startup.
 
 
 I get the following error:
 
ERROR: No authentication mechansims supported by both server and client
*javax.mail.AuthenticationFailedException*:
 
No authentication mechansims supported by both server and client
at 
*com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)*
at 
*com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)*
at 
*javax.mail.Service.connect(Service.java:317)*
at 
*javax.mail.Service.connect(Service.java:176)*
at 
*javax.mail.Service.connect(Service.java:125)*
at 
*javax.mail.Transport.send0(Transport.java:194)*
at 
*javax.mail.Transport.send(Transport.java:124)*
at 
*hudson.tasks.MailSender.execute(MailSender.java:116)*
at 
*hudson.tasks.Mailer.perform(Mailer.java:117)*
at 
*hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*
at 
*hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)*
at 
*hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)*
at 
*hudson.model.Build$BuildExecution.post2(Build.java:183)*
at 
*hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)*
at 
*hudson.model.Run.execute(Run.java:1690)*
at 
*hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)*
at 
*hudson.model.ResourceController.execute(ResourceController.java:88)*
at 
*hudson.model.Executor.run(Executor.java:246)*
Finished: FAILURE

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.