Slack Integration
I am trying to add slack notifications to my project but am getting this error.
Deploying using Slack provider
The requested service 'Slack (Appveyor.Deploy.IDeploymentProvider)' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.
Any ideas?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ilya Finkelshte... on 11 Jul, 2017 04:56 AM
Hi Aaron,
Could you please share your configuration in YAML format (use
Export YAML
) if you use UI. Feel free to delete all secrets.Ilya.
2 Posted by Aaron D on 11 Jul, 2017 03:04 PM
Here is the full config.
version: 5.0.{build}
skip_tags: true
image: Visual Studio 2017
before_build:
- nuget restore
configuration:
- Release
build:
project: Polymer2RewriteProvider.sln
verbosity: minimal
artifacts:
- path: Polymer2RewriteProvider\bin\Release\Polymer2RewriteProvider5.dll
name: main
- path: Polymer2RewriteProvider\bin\Release\UAParser.dll
name: main
deploy:
- provider: GitHub
auth_token:
secure: 73BMyeWNs+Y0cyNA2FzsPiO4b93zn8pBdSO/oPc9GvT+znZj4vZAWF0bIu0G6G3i
on:
branch: master
- provider: Slack
incoming_webhook:
secure: JhngXiwYl7JkEO7bo4Fh1k6rOy+lZ3dFxGFI4FL3Iep6ruC4WVIj35Px/jzc4Xi0GbEAGTjRQi8NZg4s0V0zZGn3IMRp+HNRdMzmh/Y492s=
channel: '#build-success'
on_build_success: true
on_build_failure: false
on_build_status_changed: false
3 Posted by Ilya Finkelshte... on 11 Jul, 2017 05:24 PM
I think that
notifications:
somehow got lost, it should be before- provider: Slack
, otherwise AppVeyor tries to find deployment provider namedSlack
instead of notification one.4 Posted by Aaron D on 11 Jul, 2017 08:56 PM
Thanks! I missed that some how. Its working well now.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:18 AM.