Public | Automated Build

Last pushed: a year ago
Short Description
Execute a rundeck job and gather the output
Full Description

Rundeck Execute

I needed a simple way to kick off a rundeck job and monitor the output from a seperate CI tool. For various reasons,
this was the best means to the end - at least for now.

It's based on Alpine Linux and is pretty tiny, only pulling in curl to do the rundeck interaction. All behavior is
based on environment variables.

Environment Variables

  • RUNDECK_URL required - The base URL on which all Rundeck URLs are built. This should only include the portion of the URL
    prior to the /api path.
  • RUNDECK_TOKEN required - The token to use to authenticate to Rundeck
  • RUNDECK_JOB_ID required - The Rundeck Job ID to execute
  • RUNDECK_JOB_OPTIONS optional - JSON formatted options to pass to the rundeck execute call
Docker Pull Command
Owner
joerocklin

Comments (0)