invoke a rundeck job and then wait for it to finish
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tasks
tests
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
LICENSE
README.md
package.json

README.md

grunt-rundeck

Build Status NPM version Dependencies

Trigger a rundeck job from grunt and keep checking it until it's finished.

installation:

npm install --save-dev grunt-rundeck

usage:

grunt.initConfig({
  'rundeck': {
    options: {
      rundeck: 'https://my.rundeck.server.com:4443', // base url where rundeck lives
      apiVersion: 12,
      token: 'E4rNvVRV378knO9dp3d73O0cs1kd0kCd'
    },
    'deploy': {
        options: {
            job: '568e6020-17f5-4b67-9add-0901f40f806f', // job id
            params: {
              foo: 'bar' // options which get passed to the job
            }
        }
    }
  }
});