Comments (13)
Great idea! Unfortunately this can't be done right now, as there's no Environment Variable or API to get the previous build's status - but this can be fixed ;)
Could you please create a UserVoice feature request to have this information as EnvVar? Probably it should include more than one EnvVars, to be able to get the previous build's status on the same branch, or just the absolute last build's status (which might be on another branch).
IMO this can be related to this request: https://bitrise.uservoice.com/forums/235233-general/suggestions/6901955-add-previous-commit-message-support-to-git - if you want to you can upvote that one and add a comment about the status env. It would work similar to what it's described in this request, just not for commit hashes but for build statuses.
from steps-slack-message.
I voted and linked back to this issue from the UserVoice you posted
from steps-slack-message.
Thanks, I changed the title of the request to better reflect the fact that it shouldn't be just git info ;)
from steps-slack-message.
+1
We have a few people on the team. We are interested in getting Slack message in our team's channel whenever build fails and then when it becomes green again. There is no value for us in having repetitive messages that the build has passed every time someone pushes.
Thanks in advance!
from steps-slack-message.
+1, this would be great.
from steps-slack-message.
Feel free to create a feature request at: https://discuss.bitrise.io/c/feature-requests , for better visibility ;)
from steps-slack-message.
Btw, if all you want to do is "I'd like to be notified when the build fails." it's already possible, see: http://devcenter.bitrise.io/tips-and-tricks/disable-a-step-by-condition/#run-a-step-only-if-the-build-failed
from steps-slack-message.
+1 please consider adding this!
from steps-slack-message.
@gheine isn't #2 (comment) enough?
from steps-slack-message.
This is open for more than a year. Is it any closer to being supported?
from steps-slack-message.
@rajit not yet, not enough attention - thanks for creating the feature request on discuss, if it gets enough votes there we'll definitely bump the priority!
from steps-slack-message.
+1 here too!
from steps-slack-message.
Closing this thread here as there's a feature request for it - please vote & comment for it at: https://discuss.bitrise.io/t/check-if-last-build-failed-status-changed-e-g-only-slack-notify-if-build-failed-or-fixed/1781
Thank you! :)
from steps-slack-message.
Related Issues (20)
- WebhookURL: required variable is not present if building a pull request HOT 3
- Guide for integrating with API token HOT 6
- Messages are not being sent HOT 17
- Allow multiple recipients HOT 1
- Incorrectly reports API Token and Webhook URL are empty HOT 4
- Notification delivered twice HOT 1
- Messages are not being sent HOT 2
- Message not sent to multiple users HOT 3
- Add option to post to message threads HOT 2
- Names not being linked? HOT 2
- Bug when registering only the error channel HOT 13
- Cannot send message from one of the workflows. HOT 1
- how to include the link of first failed test in "- fields" HOT 2
- Error: Both API Token and WebhookURL are empty HOT 4
- Question: Formatted Text HOT 4
- Feature Request: Option to skip aborted builds HOT 4
- Action buttons behave differently on build success or failure HOT 2
- Message still sending even though no channel name supplied HOT 11
- Whitespace not trimmed on all inputs HOT 2
- Thread timestamp output variable fails to export HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steps-slack-message.