Jenkins clone jobs and change branch -


i have task want realize jenkins, don't know how it.

i have view full of jobs, pointing same svn repo. each job build 1 maven module present on svn repo.
once year, release version, , therefore create new branch development on future new version.
in jenkins, means want view jobs pointing on released version branch, , new view same jobs, pointing on future version branch.

i know can manually cloning , modify branch jobs, want least number of actions possible (ideally 1 :-)).
take @ jenkins built-in possibilities , in existing plugins, found nothing , have no idea how it.
there possibility script kind of job ? or plugin doing ?

thank you,

seb

i suppose future versions developed on trunk. url these versions same (ex: http://svn.yourcompany.com/project1/trunk).

i propose group trunk jobs in dedicated folder using cloudbees folder plugin.

this plugin group jobs in physical folder in jenkins home folder (ex: jobs/trunk).

when want create new jobs release branch, write script which:

it should work :)


Comments