Started as a necessity to upload android apk to slack.
- Create a Slack account and obtain your token. To obtain a token go to
https://api.slack.com/custom-integrations/legacy-tokens, and then create on
- Install the plugin on Jenkins server. Go to
Manage Jenkins -> Manage Pluginsand select
Slack Uploaderfrom the list.
- Configure your Jenkins job as a Post-Build action.
- Enter the channel and the file path of the files you want to upload. Note that you should provide a full path to the like
- Start a build and watch as the magic happens.