From 501b52827f4b2072ce7d529c257cff52513adaa8 Mon Sep 17 00:00:00 2001 From: Ignasi Barrera Date: Sun, 30 Nov 2014 23:56:46 +0100 Subject: [PATCH] Upgrade to jclouds 1.8.1 --- .../jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java | 4 ++-- pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java b/jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java index 94839840..cf6dc1de 100644 --- a/jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java +++ b/jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java @@ -240,9 +240,9 @@ public NodeMetadata get() { options.networks(csvToArray(networks)); } - if (!Strings.isNullOrEmpty(securityGroups) && options instanceof NovaTemplateOptions) { + if (!Strings.isNullOrEmpty(securityGroups)) { LOGGER.info("Setting security groups to " + securityGroups); - options.as(NovaTemplateOptions.class).securityGroupNames(csvToArray(securityGroups)); + options.securityGroups(csvToArray(securityGroups)); } if (assignFloatingIp && options instanceof NovaTemplateOptions) { diff --git a/pom.xml b/pom.xml index be2aad2a..22921188 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ FIXME_IDENTITY FIXME_CREDENTIALS - 1.8.0 + 1.8.1 18.0 0.1.48 1.207