fix yaml format
This commit is contained in:
parent
f6f6c28f39
commit
f355501884
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
---
|
||||
image: atlassian/default-image:2
|
||||
|
||||
definitions:
|
||||
|
|
@ -189,7 +189,8 @@ pipelines:
|
|||
- npx playwright install chromium
|
||||
- ./bin/staging-test
|
||||
after-script:
|
||||
- if [ $BITBUCKET_EXIT_CODE -ne 0 ]; then
|
||||
- |
|
||||
if [ $BITBUCKET_EXIT_CODE -ne 0 ]; then
|
||||
curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"🚨 Pipeline Failed: Staging verification/tests failed for commit $BITBUCKET_COMMIT. <https://bitbucket.org/$BITBUCKET_REPO_FULL_NAME/pipelines/results/$BITBUCKET_BUILD_NUMBER|View Log>\"}" https://hooks.slack.com/services/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
|
||||
fi
|
||||
custom:
|
||||
|
|
@ -231,6 +232,7 @@ pipelines:
|
|||
- npx playwright install chromium
|
||||
- ./bin/staging-test
|
||||
after-script:
|
||||
- if [ $BITBUCKET_EXIT_CODE -ne 0 ]; then
|
||||
- |
|
||||
if [ $BITBUCKET_EXIT_CODE -ne 0 ]; then
|
||||
curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"🚨 Pipeline Failed: Staging verification/tests failed for commit $BITBUCKET_COMMIT. <https://bitbucket.org/$BITBUCKET_REPO_FULL_NAME/pipelines/results/$BITBUCKET_BUILD_NUMBER|View Log>\"}" https://hooks.slack.com/services/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
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue