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 **
Solve conflicts coming from the modified flow on get_projects_to_process from
ProcessCommit class, and the change in Project.matches signature

Merge branch master into feature/read_config_from_file

Conflicts:
	models/services/get_jenkins_projects.rb
	models/use_cases/process_commit.rb