Skip to content

Commit 31bd6ae

Browse files
author
Egor Bryzgalov
committed
Update localize-pipeline.yml
1 parent 95b242a commit 31bd6ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Localize/localize-pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ stages:
3939
- powershell: |
4040
$body = '{"text": "Created task-lib localization update PR. Someone please approve/merge it. :please-puss-in-boots:"}'
4141
Invoke-RestMethod -Uri $(slackUri) -Method Post -Body $body -ContentType 'application/json'
42-
displayName: 'Send Slack notification'
42+
displayName: 'Send Slack notification about PR opened'
4343
condition: and(succeeded(), eq(variables['WEEK'], '3'), eq(variables['build.reason'], 'Schedule'))
4444
4545
- powershell: |
4646
$buildUrl = "$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)&_a=summary"
4747
$body = '{"text": "Something went wrong while creating task-lib localization update PR. Build: ' + $buildUrl + '"}'
4848
Invoke-RestMethod -Uri $(slackUri) -Method Post -Body $body -ContentType 'application/json'
49-
displayName: 'Send Slack notification'
49+
displayName: 'Send Slack notification about error'
5050
condition: and(failed(), eq(variables['WEEK'], '3'), eq(variables['build.reason'], 'Schedule'))
5151
5252
- task: PublishBuildArtifacts@1

0 commit comments

Comments
 (0)