slackrundeck

can rundeck accept input from slack to run a specific job with a parameter provided by the slack user?


I am trying to find a way to make rundeck interactive with a slack channel such that someone could send a note to the channel and it would go to Rundeck and run a job with a parameter supplied by the user.

I have a plugin already which goes in the reverse direction giving status from the rundesk jobs to the slack channel, but I'd also like the reverse.

Does anyone know of a feature/integration like the above?


Solution

  • A good way to do that is to create a Rundeck webhook and call it from Slack creating a slash command. Take a look at how Rundeck Webooks works and how to enable interactivity with Slack.

    Also, you have a legacy way to call custom curl commands (to call Rundeck API, here some examples).