Merge pull request #3797 from zackzhangkai/master

allow notification to slact when e2e failed
This commit is contained in:
KubeSphere CI Bot
2021-04-26 16:53:04 +08:00
committed by GitHub
2 changed files with 11 additions and 2 deletions

View File

@@ -34,4 +34,13 @@ jobs:
run: KIND_CLUSTER_NAME=chart-testing hack/deploy-kubesphere.sh
- name: Run e2e testing
run: go test ./test/e2e
run: go test ./test/e2e
- name: slack
uses: 8398a7/action-slack@v3
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
if: failure()

View File

@@ -65,4 +65,4 @@ jobs:
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
if: always()
if: failure()