зеркало из https://github.com/microsoft/docker.git
brew: Fixed a bug with remote repository builds
This commit is contained in:
Родитель
2cebe09924
Коммит
62c0f433fa
|
@ -47,7 +47,7 @@ def build_library(repository=None, branch=None, namespace=None, push=False,
|
|||
logger.info('Cloning docker repo from {0}, branch: {1}'.format(
|
||||
repository, branch))
|
||||
try:
|
||||
dst_folder = git.clone_branch(repository, branch)
|
||||
rep, dst_folder = git.clone_branch(repository, branch)
|
||||
except Exception as e:
|
||||
logger.exception(e)
|
||||
logger.error('Source repository could not be fetched. Check '
|
||||
|
@ -182,4 +182,4 @@ class Summary(object):
|
|||
if logger:
|
||||
logger.info(s + success + details)
|
||||
else:
|
||||
print s, success, details
|
||||
print s, success, details
|
||||
|
|
Загрузка…
Ссылка в новой задаче