From b3cc053f4fbeadb4b0c7b978017e94700ea6945c Mon Sep 17 00:00:00 2001 From: Diego Sampaio Date: Thu, 3 Aug 2017 11:15:15 -0300 Subject: [PATCH 1/2] Fix notify --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 570c1a1c456..40259069f9a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -69,9 +69,10 @@ jobs: branches: only: color-variables - run: - name: Notify demo + name: Notify on demo command: | - curl -X POST -H 'Content-Type: application/json' --data '{"text":"@here Nova [build](${CIRCLE_BUILD_URL}) pronta\!"}' $WEBHOOK_URL + set -x + curl -X POST -H 'Content-Type: application/json' --data "{'text':'@here Nova [build](${CIRCLE_BUILD_URL}) pronta\!'}" $WEBHOOK_URL filters: branches: only: color-variables From 713b4e65761adda87bdef65e3bb84f945d0f1106 Mon Sep 17 00:00:00 2001 From: Diego Sampaio Date: Thu, 3 Aug 2017 11:48:50 -0300 Subject: [PATCH 2/2] Fix notify --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 40259069f9a..3a9856532a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -71,8 +71,7 @@ jobs: - run: name: Notify on demo command: | - set -x - curl -X POST -H 'Content-Type: application/json' --data "{'text':'@here Nova [build](${CIRCLE_BUILD_URL}) pronta\!'}" $WEBHOOK_URL + curl -X POST -H 'Content-Type: application/json' --data "{\"text\":\"@here Nova [build](${CIRCLE_BUILD_URL}) pronta :marioparty:\"}" $WEBHOOK_URL filters: branches: only: color-variables