Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37065

Sync jobs between two jenkins dashboards using job import plugin API & Linux command line

XMLWordPrintable

      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 !

            Unassigned Unassigned
            vivek_yadav Vivek Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: