You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BASH_ENV file: /tmp/.bash_env-663dc3f01fdefa2f8dbddf81-0-build
Does Not Exist. Skipping file execution
Posting Status
Checking For JQ + CURL
parse error: Invalid numeric literal at line 1, column 6
parse error: Invalid numeric literal at line 1, column 6
Exited with code exit status 4
Is this even possible? Because I tried to pass the json string manually like this and it worked.
You cannot use bash in the parameters, the $(cat message.txt) is managed as a string and the orb is not designed to eval this.
You can get the value from a file though, you have two options:
Use a step before to export the content of your file to an environment variable. More information here
Use include, custom: <<include(message.txt)>>. More information here
Orb version:
4.9.3
What happened:
I'm trying to pass a custom message to slack orb. The custom message is already in json format
Expected behavior:
Should send the message in the Slack channel
Additional Information:
.circleci/config.yml
This is the value of
message.txt
There are no issues in the Slack Block Kit Builder
This is the output of Slack orb:
Is this even possible? Because I tried to pass the json string manually like this and it worked.
I feel like it has something to do with this specific line
I also tried
Thank you for checking 🙇
The text was updated successfully, but these errors were encountered: