joshdholtz / jenkins-ironmq

Start a Jenkins job from an IronMQ message

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

ezoic increase your site revenue

About

Start a Jenkins job from an IronMQ message

License:MIT License


Languages

Language:Ruby 100.0%