It would be great if circleci supported shell script notifications that were expected to receive the build results in STDIN and did whatever they wanted with a non zero error code. Then I could do any kind of notifications I wanted and the community as a whole could write our own notification integrations for you guys.
I like this idea. Can you explain a little more about what you are looking for?
For example, you can already do
- test || command and
command will only run if
test returns non-zero.
That’s not the same as the build actually working. I would need to do that for every cache command and every test command, but only do it once for a test command and only once across containers, etc. It makes much more sense in the notifications step.