Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion codefresh-build-complex-command
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ steps:
# Simple commands can be written inline
- go test
# Complex commands should be places in a block that takes the string "as is"
# Some bash characters should be wrapped with quotes to prevent interpolation For example an ampersand in a URL
- >-
curl -X POST -H 'Content-type: application/json' --data "{\"text\": \"-----------------\"}" https://hooks.slack.com/services/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
curl -X POST -H 'Content-type: application/json' --data "{\"text\": \"-----------------\"}" 'https://hooks.slack.com/services/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&'