-
Task
-
Resolution: Not A Defect
-
Blocker
-
None
-
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 !
[JENKINS-37065] Sync jobs between two jenkins dashboards using job import plugin API & Linux command line
Component/s | New: gearman-plugin [ 17647 ] | |
Component/s | New: python-plugin [ 16018 ] |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Please vivek_yadav take a look at https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API