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

    Details

    • Similar Issues:

      Description

      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 !

        Attachments

          Activity

          vivek_yadav Vivek Yadav created issue -
          vivek_yadav Vivek Yadav made changes -
          Field Original Value New Value
          Component/s gearman-plugin [ 17647 ]
          Component/s python-plugin [ 16018 ]
          escoem Emilio Escobar made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: