Reputation: 7539
I am using Jenkins v 2.60.2 and the Jenkins Mailer plugin
When I configure jenkins and add an SMTP server name, where is this information persisted? Most jenkins info is stored as XML files in jenkins home, but I cannot seem to find this info anywhere.
Upvotes: 0
Views: 834
Reputation: 7539
As mentioned by @eran meiri, I created a file called JENKINS_HOME/hudson.tasks.Mailer.xml that looked like this
<?xml version='1.0' encoding='UTF-8'?>
<hudson.tasks.Mailer_-DescriptorImpl>
<smtpHost>my.smtp.host.com</smtpHost>
</hudson.tasks.Mailer_-DescriptorImpl>
You can add more properties, but this is all I needed.
Upvotes: 0
Reputation: 1508
I am not sure but try file: JENKINS_HOME/hudson.tasks.Mailer.xml
Upvotes: 1