diff --git a/src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java b/src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java index adc95bda..b125b46b 100644 --- a/src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java +++ b/src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java @@ -65,21 +65,10 @@ public final class ExtendedEmailPublisherDescriptor extends BuildStepDescriptor< */ private String defaultSuffix; - /** - * Jenkins's own URL, to put into the e-mail. - */ - private transient String hudsonUrl; - private MailAccount mailAccount = new MailAccount(); private List addAccounts = new ArrayList<>(); - /** - * The e-mail address that Jenkins puts to "From:" field in outgoing - * e-mails. Null if not configured. - */ - private transient String adminAddress; - private String charset; /** @@ -154,8 +143,6 @@ public final class ExtendedEmailPublisherDescriptor extends BuildStepDescriptor< private boolean debugMode = false; - private transient boolean enableSecurity = false; - /** * If true, then the 'Email Template Testing' link will only be displayed * for users with ADMINISTER privileges. diff --git a/src/test/java/hudson/plugins/emailext/plugins/content/JellyScriptContentTest.java b/src/test/java/hudson/plugins/emailext/plugins/content/JellyScriptContentTest.java index 168f3e68..3bd8f149 100644 --- a/src/test/java/hudson/plugins/emailext/plugins/content/JellyScriptContentTest.java +++ b/src/test/java/hudson/plugins/emailext/plugins/content/JellyScriptContentTest.java @@ -45,10 +45,6 @@ public void before() throws Throwable { f.setAccessible(true); f.set(publisher.getDescriptor(), "ashlux@gmail.com"); - f = ExtendedEmailPublisherDescriptor.class.getDeclaredField("hudsonUrl"); - f.setAccessible(true); - f.set(publisher.getDescriptor(), "http://localhost/"); - build = mock(AbstractBuild.class); AbstractProject project = mock(AbstractProject.class); DescribableList publishers = mock(DescribableList.class);