Skip to content

Commit ed091d0

Browse files
authored
Merge pull request #12190 from ethereum/fix-circleci-notification-condition
Add missing condition to `gitter_notify` command
2 parents 2162039 + cc80f5e commit ed091d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ commands:
4242
steps:
4343
- run:
4444
name: "Gitter notification"
45+
when: << parameters.condition >>
4546
command: |
4647
[[ "<< parameters.event >>" == "failure" ]] && message=" ❌ Nightly job **${CIRCLE_JOB}** failed on **${CIRCLE_BRANCH}**. Please see [build #${CIRCLE_BUILD_NUM}](${CIRCLE_BUILD_URL}) for details."
4748
[[ "<< parameters.event >>" == "success" ]] && message=" ✅ Nightly job **${CIRCLE_JOB}** succeeded on **${CIRCLE_BRANCH}**. Please see [build #${CIRCLE_BUILD_NUM}](${CIRCLE_BUILD_URL}) for details."

0 commit comments

Comments
 (0)