From facf95a199b43ac5039315e10f334f2b5e5c136d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Wed, 11 Oct 2017 20:54:12 +0200 Subject: [PATCH] added zammad commit message to travis-ci docker triggers --- contrib/travis-ci.org/trigger-docker-build.sh | 2 +- contrib/travis-ci.org/trigger-docker-compose-build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/travis-ci.org/trigger-docker-build.sh b/contrib/travis-ci.org/trigger-docker-build.sh index 9e96890a0..5428e2c78 100755 --- a/contrib/travis-ci.org/trigger-docker-build.sh +++ b/contrib/travis-ci.org/trigger-docker-build.sh @@ -13,6 +13,6 @@ if [ "${TRAVIS_BRANCH}" == 'develop' ]; then -H "Travis-API-Version: 3" \ -H "Accept: application/json" \ -H "Authorization: token ${TRAVIS_API_TOKEN}" \ - -d '{"request":{ "branch":"'${BRANCH}'","config":{"env":{"ZAMMAD_VERSION":"'${ZAMMAD_VERSION}'"}}}}' \ + -d '{"request":{ "message": "'${TRAVIS_COMMIT_MESSAGE}'","branch":"'${BRANCH}'","config":{"env":{"ZAMMAD_VERSION":"'${ZAMMAD_VERSION}'"}}}}' \ "https://api.travis-ci.org/repo/${REPO_USER}%2F${REPO}/requests" fi diff --git a/contrib/travis-ci.org/trigger-docker-compose-build.sh b/contrib/travis-ci.org/trigger-docker-compose-build.sh index b0b180d15..94e52c326 100755 --- a/contrib/travis-ci.org/trigger-docker-compose-build.sh +++ b/contrib/travis-ci.org/trigger-docker-compose-build.sh @@ -13,6 +13,6 @@ if [ "${TRAVIS_BRANCH}" == 'stable' ]; then -H "Travis-API-Version: 3" \ -H "Accept: application/json" \ -H "Authorization: token ${TRAVIS_API_TOKEN}" \ - -d '{"request":{ "branch":"'${BRANCH}'","config":{"env":{"ZAMMAD_VERSION":"'${ZAMMAD_VERSION}'"}}}}' \ + -d '{"request":{ "message": "'${TRAVIS_COMMIT_MESSAGE}'","branch":"'${BRANCH}'","config":{"env":{"ZAMMAD_VERSION":"'${ZAMMAD_VERSION}'"}}}}' \ "https://api.travis-ci.org/repo/${REPO_USER}%2F${REPO}/requests" fi