diff --git a/src/main/java/hudson/plugins/sshslaves/verifiers/MissingVerificationStrategyAdministrativeMonitor.java b/src/main/java/hudson/plugins/sshslaves/verifiers/MissingVerificationStrategyAdministrativeMonitor.java index 7301fa61..3f285f5c 100644 --- a/src/main/java/hudson/plugins/sshslaves/verifiers/MissingVerificationStrategyAdministrativeMonitor.java +++ b/src/main/java/hudson/plugins/sshslaves/verifiers/MissingVerificationStrategyAdministrativeMonitor.java @@ -30,10 +30,7 @@ import hudson.plugins.sshslaves.SSHLauncher; import hudson.slaves.ComputerLauncher; import hudson.slaves.SlaveComputer; -import hudson.util.VersionNumber; import jenkins.model.Jenkins; -import org.kohsuke.accmod.Restricted; -import org.kohsuke.accmod.restrictions.DoNotUse; /** * An administrative warning that checks all SSH slaves have a {@link SshHostKeyVerificationStrategy} @@ -59,19 +56,6 @@ public boolean isActivated() { return false; } - //TODO: This method can be removed when the baseline is updated to 2.103. - /** - * @return true if this version of the plugin is running on a Jenkins version where JENKINS-43786 is included. - */ - @Restricted(DoNotUse.class) - public boolean isTheNewDesignAvailable() { - final VersionNumber version = Jenkins.getVersion(); - if (version != null && version.isNewerThan(new VersionNumber("2.103"))) { - return true; - } - return false; - } - @Override public String getDisplayName() { return Messages.MissingVerificationStrategyAdministrativeMonitor_DisplayName(); diff --git a/src/main/resources/hudson/plugins/sshslaves/verifiers/MissingVerificationStrategyAdministrativeMonitor/message.jelly b/src/main/resources/hudson/plugins/sshslaves/verifiers/MissingVerificationStrategyAdministrativeMonitor/message.jelly index eda75c18..06013530 100644 --- a/src/main/resources/hudson/plugins/sshslaves/verifiers/MissingVerificationStrategyAdministrativeMonitor/message.jelly +++ b/src/main/resources/hudson/plugins/sshslaves/verifiers/MissingVerificationStrategyAdministrativeMonitor/message.jelly @@ -24,16 +24,8 @@ THE SOFTWARE. - -
-

SSH Host Key Verifiers are not configured for all SSH slaves on this Jenkins instance. This could leave these slaves open to man-in-the-middle attacks. Update your slave configuration to resolve this.

-
-
- -
SSH Host Key Verifiers are not configured for all SSH slaves on this Jenkins instance. This could leave these slaves open to man-in-the-middle attacks. Update your slave configuration to resolve this.
-
\ No newline at end of file