Skip to content

Commit 95b242a

Browse files
author
Egor Bryzgalov
committed
Fixed notification
1 parent 12fe19a commit 95b242a

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
@@ -37,14 +37,14 @@ stages:
3737
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
3838

3939
- powershell: |
40-
$body = '{"text": "Created agent localization update PR. Someone please approve/merge it. :please-puss-in-boots:"}'
40+
$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'
4242
displayName: 'Send Slack notification'
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"
47-
$body = '{"text": "Something went wrong while creating agent localization update PR. Build: ' + $buildUrl + '"}'
47+
$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'
4949
displayName: 'Send Slack notification'
5050
condition: and(failed(), eq(variables['WEEK'], '3'), eq(variables['build.reason'], 'Schedule'))

0 commit comments

Comments
 (0)