-
New Feature
-
Resolution: Won't Fix
-
Major
-
None
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.
- depends on
-
JENKINS-8527 Two way synchronization
-
- Closed
-
I think synchronizing things in a "per job" way will become very complex.
Moreover, don't see the scm-sync-configuration plugin as a "job only" backup. Aim is to backup lots of other entities (like global hudson system properties, plugin configurations, views, users etc..)
For me, it is a really job specific stuff, I won't prioritize this for the moment.
Nevertheless, on the 2 way sync topic, if you read http://wiki.jenkins-ci.org/display/JENKINS/SCM+Sync+configuration+plugin, you'll notice this functionality is in my todo list.
For me, there is 2 different use cases :
For the auto import jobs functionality, this is for me, too, a target objective. Allowing to create some job archetypes for my projects, and import massively them in hudson.