Skip to content

Commit

Permalink
Define APPVEYOR_BUILD_URL in a build scrip insated of an update script
Browse files Browse the repository at this point in the history
  • Loading branch information
kai2nenobu committed Jun 21, 2019
1 parent 7bd9f6a commit fddfc69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .appveyor_au.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ environment:
slack_webhook_url:
secure: Xy6BVJYVnM0lJ0eD9Uw8z1XSEFErqUbRozlhX7gmoAWDUJ2VfDgH3JId4mAOkz3vZ6wlQenfCc2Lyotvf0ABfZygpjB0qYD++2Pl/HsRLPw=

# AppVeyor build url which points to this build
APPVEYOR_BUILD_URL: 'https://ci.appveyor.com/project/%APPVEYOR_ACCOUNT_NAME%/%APPVEYOR_PROJECT_SLUG%/builds/%APPVEYOR_BUILD_ID%'

init:
- git config --global user.email "[email protected]"
- git config --global user.name "Chocolatey"
Expand Down
2 changes: 1 addition & 1 deletion update_all.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ $Options = [ordered]@{

Slack = @{
WebHookUrl = $Env:slack_webhook_url
BuildUrl = 'https://ci.appveyor.com/project/{0}/{1}/builds/{2}' -f $env:APPVEYOR_ACCOUNT_NAME,$env:APPVEYOR_PROJECT_SLUG,$env:APPVEYOR_BUILD_ID
BuildUrl = $Env:APPVEYOR_BUILD_URL
}

RunInfo = @{
Expand Down

0 comments on commit fddfc69

Please sign in to comment.