From f763f5107960725182cb9b9b7c131c4267d95a7d Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Fri, 23 Dec 2016 16:18:38 -0800 Subject: [PATCH] Notification when vscode extension is published on marketplace. --- concourse/release-pipeline.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/concourse/release-pipeline.yml b/concourse/release-pipeline.yml index 2d754bae0..7ef1b17d2 100644 --- a/concourse/release-pipeline.yml +++ b/concourse/release-pipeline.yml @@ -55,7 +55,6 @@ jobs: on_success: put: slack-notification params: - channel: "@kdvolder" text_file: s3-vscode-manifest-yaml-vsix/url icon_url: https://raw.githubusercontent.com/spring-projects/sts4/master/vscode-extensions/vscode-manifest-yaml/icon.png text: | @@ -82,6 +81,14 @@ jobs: params: repository: sts4-out only_tag: true + on_success: + put: slack-notification + params: + text_file: s3-vscode-manifest-yaml-vsix/version + icon_url: https://raw.githubusercontent.com/spring-projects/sts4/master/vscode-extensions/vscode-manifest-yaml/icon.png + text: | + Concourse ${BUILD_PIPELINE_NAME}/${BUILD_JOB_NAME}/${BUILD_NAME} has succeed! + Vscode-manifest-yaml release $TEXT_FILE_CONTENT is now available on vscode-marketplace! on_failure: put: slack-notification params: @@ -92,7 +99,7 @@ jobs: serial: true plan: - do: - - get: sts4 + - get: sts4-out trigger: true passed: - publish-vscode-manifest-yaml-release @@ -111,5 +118,3 @@ jobs: channel: "@kdvolder" text: | Concourse ${BUILD_PIPELINE_NAME}/${BUILD_JOB_NAME}/${BUILD_NAME} has failed! - -