/jenkins-ironmq

Start a Jenkins job from an IronMQ message

Primary LanguageRubyMIT LicenseMIT

jenkins-ironmq

Twitter: @joshdholtz License Gem

Start a Jenkins job from an IronMQ message

Example usage (with prompt)

Start listening on the queue

jenkmq start \
  --iron_token your-iron-token \
  --iron_project your-iron-project-id \
  --iron_queue your-job-queue \
  --jenkins_url http://localhost:8080 \
  --jenkins_token you-jenkins-token

Post to queue (body)

{
  "job_name": "your-jenkins-job-name",
  "job_parameter": {
    "parameter": [
      {
        "name": "name1",
        "value": "value1"
      }
    ]
  }
}

Installation

Install gem

gem install jenkmq

Author

Josh Holtz, me@joshholtz.com, @joshdholtz

License

jenkmq is available under the MIT license. See the LICENSE file for more info.