Introduced new parameter giturl to clone_gitproject
authorEd Bartosh <eduard.bartosh@intel.com>
Wed, 3 Apr 2013 15:44:08 +0000 (18:44 +0300)
committerEd Bartosh <eduard.bartosh@intel.com>
Thu, 4 Apr 2013 15:32:18 +0000 (18:32 +0300)
commit519e6a644681dca92b82e52a46789539c4296911
treef2b5db4f7128a8624cf9785a857c2a461867d0d7
parent74760a929d773e84d9673ceb1cbe6c3fe370b24b
Introduced new parameter giturl to clone_gitproject

Current implementation of clone_gitproject getting gerrit url from
environment variables, which is not always good. New parameter giturl
allows to get rid of this limitation.

This approach is used in job_pre_release_gerrit to clone mappings from
multiple gerrits.

Change-Id: Ie1e9ec2f49e83e07cecac0623834c88082dcdb3f
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
common/git.py