ソースを参照

BUILD-2798 Move after_failure expressions to condition

branch-10.0
Jeremy Davis 1年前
コミット
09b0707a71
1個のファイルの変更4行の追加2行の削除
  1. 4
    2
      .travis.yml

+ 4
- 2
.travis.yml ファイルの表示

@@ -37,6 +37,8 @@ notifications:
secure: PCekbN71ZmuOt82JUFmlhzxlx3wrXucSIpvxxWdZn9lfsPYQAtXCoOESaHjIVIpggsC5HSAic3HiedsWbuDk/XojmPrDCrfjgYG2wiuSuQlAa60WvzTPqXdRmUXyMQgItaAQbRfZP7kN9No/v8TZDfg5kT3i9ewy0bsfExpjAuo=
on_start: always

# This is a temporary change as Travis is currently executing this body even
# when the job run successfully (support ticket #44617).
# The changes should be reverted once we have a proper solution.
after_failure:
- source ./.travis/setup_environment.sh
- notify_burgr "build" "build" "$TRAVIS_JOB_WEB_URL" "$(cat /tmp/build_start_time)" "$(date --utc +%FT%TZ)" "failed" || true
- '[[ $TRAVIS_TEST_RESULT = 1 ]] && source ./.travis/setup_environment.sh && notify_burgr "build" "build" "$TRAVIS_JOB_WEB_URL" "$(cat /tmp/build_start_time)" "$(date --utc +%FT%TZ)" "failed" || true'

読み込み中…
キャンセル
保存