Fixes #2 : prepare scm block before actually creating the new job
Capture exception on newer git plugin versions
BUGFIX : fallback to standard project matching when automatic creation fails
Fixes #1 : handle project creation under git 2.x plugin
BUGFIX : capture exceptions and ensure that a flat list is handled
Merge pull request #5 from javiplx/git_2x_support

Support for 2.x git plugin
Include pushed refs in argument lists for matching methods
Fixes 11 : Check also for pushed ref on matches_branch?
BUGFIX : consider credentials when copying jobs
Merge pull request #14 from javiplx/feature/refspec_matching

Match against refspec
Fixes 10 : always true if job branch is **
Reolve conflicts due to the project search process on get_projects_to_process
method

Merge branch 'master' into feature/templated_jobs

Conflicts:
	models/use_cases/process_commit.rb
Modify GetJenkinsProjects.named to return a single project
BUGFIX : refspec not considered when copying a job for a new branch
BUGFIX : use the branches configured on the template
Allow prepare_scm_from to keep branches from original job
Reuse prepare_scm_from on from_template method