Fixed typo in jenkins smtp server
Change-Id: Id6601c6e06d65295857423be1a3ccb59a8a8ea84
diff --git a/_states/jenkins_smtp.py b/_states/jenkins_smtp.py
index 199507a..87377e9 100644
--- a/_states/jenkins_smtp.py
+++ b/_states/jenkins_smtp.py
@@ -5,7 +5,7 @@
def result = ""
for(desc in [Jenkins.getInstance().getDescriptor("hudson.plugins.emailext.ExtendedEmailPublisher"),Jenkins.getInstance().getDescriptor("hudson.tasks.Mailer")]){{
if(desc.getSmtpServer().equals("{host}") &&
- desc.getSmtpAuthUserName().equals("{username}") &&
+ desc.getSmtpAuthUsername().equals("{username}") &&
desc.getSmtpAuthPassword().toString().equals("{password}") &&
desc.getSmtpPort().equals("{port}") &&
desc.getUseSsl() == {ssl} &&