From 448d1a68c0ee7d2e5722acb0b83211b001591660 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 20 Oct 2020 11:15:03 +0200 Subject: [PATCH] adapt cirrus messages to travis' --- .cirrus.yml | 4 ++-- .travis.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 1562dc36..ba7b4929 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -53,12 +53,12 @@ task: gitter_success_script: | curl -sS "${gitter}" \ --data-urlencode "level=info" \ - --data-urlencode "message=Cirrus-CI build for ${CIRRUS_BRANCH} on ${OS} [succeeded](https://cirrus-ci.org/task/${CIRRUS_TASK_ID})" + --data-urlencode "message=Cirrus [${CIRRUS_REPO_FULL_NAME}](https://github.com/${CIRRUS_REPO_FULL_NAME}/compare/${CIRRUS_LAST_GREEN_CHANGE}...${CIRRUS_CHANGE_IN_REPO}) (${CIRRUS_BRANCH}) [success](https://cirrus-ci.org/task/${CIRRUS_TASK_ID}) (${CIRRUS_OS})" on_failure: gitter_failure_script: | curl -sS "${gitter}" \ --data-urlencode "level=error" \ - --data-urlencode "message=Cirrus-CI build for ${CIRRUS_BRANCH} on ${OS} [failed](https://cirrus-ci.org/task/${CIRRUS_TASK_ID})" + --data-urlencode "message=Cirrus [${CIRRUS_REPO_FULL_NAME}](https://github.com/${CIRRUS_REPO_FULL_NAME}/compare/${CIRRUS_LAST_GREEN_CHANGE}...${CIRRUS_CHANGE_IN_REPO}) (${CIRRUS_BRANCH}) [failure](https://cirrus-ci.org/task/${CIRRUS_TASK_ID}) (${CIRRUS_OS})" testlog_artifacts: path: build/Testing/Temporary/LastTest.log type: text/plain diff --git a/.travis.yml b/.travis.yml index df4174bd..85307b85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,6 +52,6 @@ notifications: webhooks: urls: - https://webhooks.gitter.im/e/796c8423962228333c54 - on_success: change + on_success: always on_failure: change on_start: never -- 2.30.2