Slack - CliMA/slurm-buildkite GitHub Wiki
You can send messages or upload images to the CliMA Slack.
Sending messages
slack-message [opts...]
the options are:
-c #channelname(to send to a channel) or-c @personname(to send a direct message)- if sending to a channel, you will first have to add the
climabotapp to the channel
- if sending to a channel, you will first have to add the
-x message: the text string to send
Example
- command:
- slack-message -c "#slurm-buildkite-testing" -x "hello from $$BUILDKITE_BUILD_URL"
Uploading files/images
slack-upload [opts...]
the options are:
-c #channelname(to send to a channel) or-c @personname(to send a direct message)- if sending to a channel, you will first have to add the
climabotapp to the channel
- if sending to a channel, you will first have to add the
-f filename: filename to upload-m filetype: see https://api.slack.com/types/file#file_types-n title: title of slack post-x message: comment string