I need to be able to pull multiple GIT branches and build up a single workspace. I used the multi-scm plugin to be able to pull from multiple branches as I have to place some of the branches into individual sub-folders. The issue I have is that scm polling does not work. It rebuilds constantly. I tried to back out the latest plugin for mutli-scm and go back to the .2 version, but it is still a problem. I'm on the latest stable release.
I have tried to find a way to break the job up into four separate jobs (one for each branch) and then have a downstream job consolidate the code into a single workspace so I can package the code for deployment. I looked at cloned workspaces and then again using the multi-scm to try and consolidate in a downstream job, but it appears to overwrite.
Can anybody suggest a way of pulling these branches and still have a job triggered if changes are made in the underlying branch?
Thanks