Somaiah Kumbera
Somaiah Kumbera

Reputation: 7539

Where does jenkins mailer plugIn store SMTP server name

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

Answers (2)

Somaiah Kumbera
Somaiah Kumbera

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

eran meiri
eran meiri

Reputation: 1508

I am not sure but try file: JENKINS_HOME/hudson.tasks.Mailer.xml

Upvotes: 1

Related Questions