Code Monkey home page Code Monkey logo

Comments (13)

viktorbenei avatar viktorbenei commented on June 1, 2024

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.

ritave avatar ritave commented on June 1, 2024

I voted and linked back to this issue from the UserVoice you posted

from steps-slack-message.

viktorbenei avatar viktorbenei commented on June 1, 2024

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.

yas375 avatar yas375 commented on June 1, 2024

+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.

kensykora avatar kensykora commented on June 1, 2024

+1, this would be great.

from steps-slack-message.

viktorbenei avatar viktorbenei commented on June 1, 2024

Feel free to create a feature request at: https://discuss.bitrise.io/c/feature-requests , for better visibility ;)

from steps-slack-message.

viktorbenei avatar viktorbenei commented on June 1, 2024

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.

gheine avatar gheine commented on June 1, 2024

+1 please consider adding this!

from steps-slack-message.

viktorbenei avatar viktorbenei commented on June 1, 2024

@gheine isn't #2 (comment) enough?

from steps-slack-message.

rajit avatar rajit commented on June 1, 2024

https://discuss.bitrise.io/t/check-if-last-build-failed-status-changed-e-g-only-slack-notify-if-build-failed-or-fixed/1781

This is open for more than a year. Is it any closer to being supported?

from steps-slack-message.

viktorbenei avatar viktorbenei commented on June 1, 2024

@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.

gcamp avatar gcamp commented on June 1, 2024

+1 here too!

from steps-slack-message.

viktorbenei avatar viktorbenei commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.