diff --git a/core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol3.java b/core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol3.java index 6a3087e8ffdb84d74678c28ce194d4339ef7172f..e0f5c761668b649c9b317cc8c4b50e667a1cb885 100644 --- a/core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol3.java +++ b/core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol3.java @@ -137,7 +137,6 @@ public class JnlpSlaveAgentProtocol3 extends AgentProtocol { /** * Flag to control the activation of JNLP3 protocol. - * This feature is being A/B tested right now. * *
* Once this will be on by default, the flag and this field will disappear. The system property is @@ -151,11 +150,8 @@ public class JnlpSlaveAgentProtocol3 extends AgentProtocol { static { forceEnabled = SystemProperties.optBoolean(JnlpSlaveAgentProtocol3.class.getName() + ".enabled"); - if (forceEnabled != null) + if (forceEnabled != null) { ENABLED = forceEnabled; - else { - byte hash = Util.fromHexString(Jenkins.getActiveInstance().getLegacyInstanceId())[0]; - ENABLED = (hash%10)==0; } } }