aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2018-11-06 12:32:36 +0200
committerBenjamin Copeland <ben.copeland@linaro.org>2018-11-06 10:36:20 +0000
commit463a42f9ace07a8c0b23b5c4f9b929cc69fe52f8 (patch)
tree23a000b5d41eef2b540000b7db7781f2c3235af2
parentebb424fd1c1fdf2a34da4a365b946d09b38c9ce4 (diff)
all: switch to jersey
According to: https://github.com/KostyaSha/yet-another-docker-plugin/issues/128 Lockups might be caused by using NETTY, and suggest switching to jersey. Switch default in template since we want to change all hosts. Change-Id: I48170c50393ab715c9a9cbac81b1b4c08a4f82a0 Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Reviewed-on: https://review.linaro.org/28974 Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
-rw-r--r--templates/configure-yadocker-cloud.groovy.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/configure-yadocker-cloud.groovy.j2 b/templates/configure-yadocker-cloud.groovy.j2
index 58d10da..7fa8a72 100644
--- a/templates/configure-yadocker-cloud.groovy.j2
+++ b/templates/configure-yadocker-cloud.groovy.j2
@@ -192,7 +192,7 @@ def newDockerCloud(JSONObject obj) {
connector.setCredentialsId(obj.optString('host_credentials_id'))
//select connection_type
List<String> connection_types = ['NETTY', 'JERSEY']
- String connection_type_default = 'NETTY'
+ String connection_type_default = 'JERSEY'
String user_selected_connection_type = obj.optString('connection_type', connection_type_default).toUpperCase()
String connection_type = (user_selected_connection_type in connection_types)? user_selected_connection_type : connection_type_default
connector.setConnectorType(ConnectorType."${connection_type}")