All-
I've been using Jenkins for about a year and now I'm trying to setup a continuous delivery pipeline for my team and have a question.
Question
Is it possible to have Jenkins checkout/compile/test code from one SVN branch, then, if everything passes, push that code into another SVN branch?
For my team, I'm envisioning the following branches ::
-Our Product Root
-Individual Issue Branches
-Issue1
-Issue2
-Issue3
-Integration Branch
-Stable Branch
-Production Branch
Each Individual Issue Branch will be a copy of the Stable Branch
but
the commits for the Individual Issue Branches will go to the Integration Branch.
I would like Jenkins to::
- Listen for commits against Integration Branch in SVN
- Download Integration Branch from SVN
- Compile Integration Branch code
- Run any unit tests
- If everything passes, commit the new code to the Stable Branch
So, can Jenkins checkout/compile/test code from one SVN branch and upon success, commit that code to another SVN branch?
Thank you for your time,
Jeff