WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

DFTi/strider-slack-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

install

cd into strider deployment and run

cd node_modules/strider-simple-runner/node_modules
git clone https://github.com/DFTi/strider-slack-hack.git
cd strider-slack-hack
npm install

customize the message in index.js if you want

In your strider runner's env vars, add your SLACK_DOMAIN and SLACK_WEBHOOK_TOKEN

In strider-simple-runner/lib/index.js around line 371 you'll find a self.log telling that the job was done without errors; add this code:

require('strider-slack-hack')(job.project.name).tested(jobdata.phases.test.exitCode);

restart strider

why didnt you use the plugins?

i tried, but the instructions were missing/lousy/outdated see https://github.com/DFTi/strider-slack

why didn't you use the webhook plugin that comes with strider?

i tried, but it's broken as of Strider-CD/strider-webhooks#4

About

hack strider into talking to slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published