Closed beders closed 4 years ago
@beders Interesting - what Docker image are you running in your job?
We are running on - image: circleci/clojure:lein-2.9.1-node-browsers
aand we just switched to - image: circleci/clojure:lein-2.9.3-node-browsers although I have not tested it with that image yet.
Thank you @beders, allow me to look into this.
@beders The issue should be resolved 👍 thank you for the feedback! Information in #166 if interested.
I would love to hear if this worked for you, or if you run into any other issues. Thank you again.
Thanks guys. Will try again
Also: Avoid bash. I’ve been manually posting to slack from bash and it is a string escape nightmare. Might I suggest babashka?
@beders As much as I love Lisps/Clojure, I don't think it's feasible to implement into all of our images or within a specific orb - I understand bash is not ideal, but given the fact it's available in most/all the jobs it's the best option.
For an orb like that, which seems to be written purely in bash, literally any other scripting language will give you a better experience. (ok, maybe not perl ;). Babashka is a 42MB executable (vs. bash around 600k), so it is a bit heavy-weight, but even python or tcl are vastly better than trying to wrangle the idiosyncrasies of bash - and there are many. There's also Ferret that is able to produce binaries that run on 2KB of RAM. It is a sad day when bash is considered the best option.
Anyways, thanks again for being on top of this bug and fixing it quickly!
Orb version
version: 2.1
orbs: slack: circleci/slack@dev:beta
What happened
No slack message was posted even though step returned with exit code 0
Here's the relevant config:
and this is the output for "Slack - Sending Notification":
Expected behavior
Message should be posted.