From 5cc092f33cc9798c1177bc3f8a741a8a21763d58 Mon Sep 17 00:00:00 2001 From: Ketan Padegaonkar Date: Fri, 10 May 2019 11:36:41 +0530 Subject: [PATCH] Specify supported OS as linux --- .gitignore | 1 + CHANGELOG.md | 3 ++ build.gradle | 3 +- .../main/resource-templates/plugin.properties | 18 ----------- .../src/main/resource-templates/plugin.xml | 31 ------------------- 5 files changed, 6 insertions(+), 50 deletions(-) delete mode 100644 gocd-yum-repo-plugin/src/main/resource-templates/plugin.properties delete mode 100644 gocd-yum-repo-plugin/src/main/resource-templates/plugin.xml diff --git a/.gitignore b/.gitignore index 752550a..9d6b910 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ build/ # Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) !gradle-wrapper.jar +gocd-yum-repo-plugin/src/main/resources-generated/ \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e0eb01..36d4d4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# Changelog is now moved to the GitHub releases page of this plugin + + # 2.0.3 - Cleanup the build script. No changes in functionality diff --git a/build.gradle b/build.gradle index 0189130..d22aa33 100644 --- a/build.gradle +++ b/build.gradle @@ -18,12 +18,13 @@ apply from: "https://raw.githubusercontent.com/gocd/gocd-plugin-gradle-task-help gocdPlugin { id = 'yum' - pluginVersion = '2.0.4' + pluginVersion = '2.0.5' goCdVersion = '15.2.0' name = 'Yum Plugin' description = 'Plugin that polls a yum repository' vendorName = 'ThoughtWorks Go Team' vendorUrl = 'https://github.com/gocd/gocd-yum-repository-poller-plugin' + targetOs = ['Linux'] githubRepo { owner = System.getenv('GITHUB_USER') ?: 'bob' diff --git a/gocd-yum-repo-plugin/src/main/resource-templates/plugin.properties b/gocd-yum-repo-plugin/src/main/resource-templates/plugin.properties deleted file mode 100644 index 417135e..0000000 --- a/gocd-yum-repo-plugin/src/main/resource-templates/plugin.properties +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright 2017 ThoughtWorks, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -pluginId=${id} -name=${name} -version=${version} diff --git a/gocd-yum-repo-plugin/src/main/resource-templates/plugin.xml b/gocd-yum-repo-plugin/src/main/resource-templates/plugin.xml deleted file mode 100644 index 276f3a8..0000000 --- a/gocd-yum-repo-plugin/src/main/resource-templates/plugin.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - ${name} - ${version} - ${goCdVersion} - ${description} - - ${vendorName} - ${vendorUrl} - - - Linux - - -