From 88465814704255e0cd099dcfec3d7e0d4d276341 Mon Sep 17 00:00:00 2001 From: Ralf Hergert Date: Thu, 4 Jan 2018 11:06:58 +0100 Subject: [PATCH] changed server type to GOCD; fixed SDK version to 1.4.16 in which this server type was introduced; (1.3) --- build.gradle | 2 +- src/main/java/com/haufelexware/octane/GoPluginServices.java | 2 +- src/main/resources/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 9d6387a..71a8e22 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ sourceCompatibility = 1.7 dependencies { compile 'cd.go.plugin:go-plugin-api:17.9.+' - compile('com.hpe.adm.octane.ciplugins:integrations-sdk:1.4.+') + compile('com.hpe.adm.octane.ciplugins:integrations-sdk:1.4.16') compile 'com.google.code.gson:gson:2.8.+' compile 'org.apache.httpcomponents:httpclient:4.5.2' // this httpclient is also contained in the SDK, but some classes of it are missing, so we need to have the original file. diff --git a/src/main/java/com/haufelexware/octane/GoPluginServices.java b/src/main/java/com/haufelexware/octane/GoPluginServices.java index f980498..ddd081c 100644 --- a/src/main/java/com/haufelexware/octane/GoPluginServices.java +++ b/src/main/java/com/haufelexware/octane/GoPluginServices.java @@ -86,7 +86,7 @@ public CIPluginInfo getPluginInfo() { public CIServerInfo getServerInfo() { return DTOFactory.getInstance().newDTO(CIServerInfo.class) .setUrl(goServerURL) - .setType(CIServerTypes.UNKNOWN) // TODO change into CIServerTypes.GoCD as soon as available. + .setType(CIServerTypes.GOCD.value()) .setSendingTime(System.currentTimeMillis()) .setInstanceId(goServerID); } diff --git a/src/main/resources/plugin.xml b/src/main/resources/plugin.xml index ba79f66..28f7555 100644 --- a/src/main/resources/plugin.xml +++ b/src/main/resources/plugin.xml @@ -2,7 +2,7 @@ OctaneGoCDPlugin - 1.2 + 1.3 17.9.0 Allows integration of GoCD with HPE ALM Octane: making pipelines and test results accessible in HPE ALM Octane.