Add slack notifications
This commit is contained in:
Родитель
38ebf5ac9f
Коммит
832b5a36fa
|
@ -315,3 +315,12 @@ workflows:
|
||||||
- electron-linux-arm64-release-nightly
|
- electron-linux-arm64-release-nightly
|
||||||
- electron-linux-ia32-release-nightly
|
- electron-linux-ia32-release-nightly
|
||||||
- electron-linux-x64-release-nightly
|
- electron-linux-x64-release-nightly
|
||||||
|
|
||||||
|
experimental:
|
||||||
|
notify:
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- 2-0-x
|
||||||
|
- 1-8-x
|
||||||
|
- 1-7-x
|
||||||
|
|
8
vsts.yml
8
vsts.yml
|
@ -80,4 +80,12 @@ steps:
|
||||||
searchFolder: junit
|
searchFolder: junit
|
||||||
condition: and(always(), ne(variables['ELECTRON_RELEASE'], '1'))
|
condition: and(always(), ne(variables['ELECTRON_RELEASE'], '1'))
|
||||||
|
|
||||||
|
- task: kasunkodagoda.slack-notification.slack-notification-task.SlackNotification@3
|
||||||
|
displayName: Post Slack Notification
|
||||||
|
inputs:
|
||||||
|
SlackApiToken: '$(slack_token)'
|
||||||
|
Channel: '#bot-nightly-releases'
|
||||||
|
Message: '$(Build.DefinitionName)-$(Build.BuildNumber) finished with a $(Agent.JobStatus) status.'
|
||||||
|
condition: and(always(), eq(variables['Build.Reason'], 'Schedule'))
|
||||||
|
|
||||||
- task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3
|
- task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3
|
||||||
|
|
Загрузка…
Ссылка в новой задаче