We needed a middleman server, and I decided to go with Node.js, but I found that there was no decent Node.js API. SO, I made one =). I was really impressed by the autojenkins python API, which it follows closely:
https://github.com/txels/autojenkins
There are many things you can do, such as:
- Trigger builds
- Get info on jobs/builds
- Copy jobs
- Delete jobs
Here is an example:
*COMING SOON