Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Custom message per notification #163

Closed
cchar opened this issue Dec 1, 2015 · 4 comments · Fixed by #445
Closed

Feature Request: Custom message per notification #163

cchar opened this issue Dec 1, 2015 · 4 comments · Fixed by #445

Comments

@cchar
Copy link

cchar commented Dec 1, 2015

We have notification for success and various types of failure. People are complaining about it being too noisy being mentioned even on successes. They want to be mentioned only if the build failed. However, we don't want to turn notifications off on success because if server goes down, we want to be able to tell quickly.

Is it possible to have custom messages per notification?

@MilesRoberts
Copy link
Contributor

depending on your exact use case you might be able to hack your way around this using the envinject plugin, but +1 for having this built in to the slack plugin.

@csogilvie
Copy link

I might have just written something for this which I referenced in Pull Request #169 as I needed to be able to do the same thing...

@djschny
Copy link

djschny commented Jan 15, 2016

👍

We are switching from HipChat to Slack and not being able to supply a per build message template to use is really hurting us. For example allowing you to do the following for each notification on a project:

'$JOB_NAME #$BUILD_NUMBER $STATUS after $DURATION (<a href="$URL">Open</a>)'

@samrocketman
Copy link
Member

Possibly fixed by #169.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants