-
Type:
Task
-
Resolution: Not A Defect
-
Priority:
Blocker
-
Component/s: gearman-plugin, job-import-plugin, python-plugin
-
None
-
Environment:jenkins 2.0, Gearman, Ubuntu 14.04
Hi Guys,
I am using Gearman to run the jobs to multiple jenkins master but both dashboards are different since jobs are different on both of them . I used jenkins-job-builder to keep them in sync but it's tough to generate yaml for complex jobs( specially for newcomers ) .
I used jobs import plugin which is awesome for importing jobs .
How can i sync the jobs between both jenkins instances using job import plugin API ?
For an API, could you please assist me with some set of examples ?
I will use those APIs on both jenkins instances & use cron jobs to pull & push jobs on both the servers to keep both of them in sync probably every 2 or 3 minutes .
Thanks in advance for your help !