Cypress tests on releases - fix slack notify message (#3719)
* status always should be failure * also fix when notification after scheduled tests
This commit is contained in:
parent
198341cb41
commit
df76e07f8e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/tests-nightly.yml
vendored
4
.github/workflows/tests-nightly.yml
vendored
|
@ -379,7 +379,7 @@ jobs:
|
||||||
- name: Notify Slack
|
- name: Notify Slack
|
||||||
env:
|
env:
|
||||||
JOB_DEPLOYMENT_KIND: staging
|
JOB_DEPLOYMENT_KIND: staging
|
||||||
JOB_STATUS: ${{ job.status }}
|
JOB_STATUS: 'Failure'
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASES_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASES_WEBHOOK_URL }}
|
||||||
JOB_TITLE: "Test release workflow - ${{github.event.client_payload.project}} ${{github.event.client_payload.version}}"
|
JOB_TITLE: "Test release workflow - ${{github.event.client_payload.project}} ${{github.event.client_payload.version}}"
|
||||||
JOB_KIND: "release tests"
|
JOB_KIND: "release tests"
|
||||||
|
@ -422,7 +422,7 @@ jobs:
|
||||||
if: steps.get-tests-results.outputs.testStatus == 'true'
|
if: steps.get-tests-results.outputs.testStatus == 'true'
|
||||||
env:
|
env:
|
||||||
JOB_DEPLOYMENT_KIND: ${{ needs.run-tests-in-parallel.outputs.environment }}
|
JOB_DEPLOYMENT_KIND: ${{ needs.run-tests-in-parallel.outputs.environment }}
|
||||||
JOB_STATUS: ${{ job.status }}
|
JOB_STATUS: 'Failure'
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_SALEOR_QA_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_SALEOR_QA_WEBHOOK_URL }}
|
||||||
JOB_TITLE: "A lot of tests failed, something is probably broken - ${{ needs.run-tests-in-parallel.outputs.dashboard_url }}"
|
JOB_TITLE: "A lot of tests failed, something is probably broken - ${{ needs.run-tests-in-parallel.outputs.dashboard_url }}"
|
||||||
JOB_KIND: "Tests"
|
JOB_KIND: "Tests"
|
||||||
|
|
Loading…
Reference in a new issue