From 4f5300003c3a56c286b76729a2a40378ca9bf5f2 Mon Sep 17 00:00:00 2001 From: Stephen Connolly Date: Wed, 10 Aug 2016 17:41:19 +0100 Subject: [PATCH] [JENKINS-37315] Stop A/B testing JNLP3 --- .../main/java/jenkins/slaves/JnlpSlaveAgentProtocol3.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol3.java b/core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol3.java index 6a3087e8ff..e0f5c76166 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; } } } -- GitLab