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

scm-sync URL should be per job

XMLWordPrintable

      Currently scm-sync-configuration plugin allows specifying single repository URL for everything.
      It would very nice to be able to set distinct arbitrary repo URLs (and credentials) for each job.

      USE CASE
      We have tens of branches in http://svn/outRepo/.../branches/.
      Each branch is built from SVN URL http://svn/outRepo/.../branches/branchXYZ/.
      We want to have http://svn/outRepo/.../branches/branchXYZ/hudson_ci_stuff dir in each branch to be synced with relevant Hudson job config files.

      CONSEQUENCES
      Updating job's config in Hudson UI will trigger SCM change in relevant job due to commit to hudson_ci_stuff.

      FURTHER DISCUSSION
      Possibly a subject to another feature request is truly two way sync: i.e. when somebody manually makes a commit to hudson_ci_stuff, scm-sync-configuration plugin should push job config update to Hudson core.
      And another logical step - about which I, as the one maintaining our HudsonCI deployment, dream very often - is the ability to auto-import jobs from SCM. I.e. once we create a branch from http://svn/outRepo/.../trunk, scm-sync-configuration plugin should discover new http://svn/outRepo/.../branches/branchZZZ/ and auto create job "branchZZZ" from configuration stored in http://svn/outRepo/.../branches/branchZZZ/hudson_ci_stuff.

            fcamblor Frédéric Camblor
            pancake pancake
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: