From 03d174efe2a1e6b693adbebbaee8558185e687a6 Mon Sep 17 00:00:00 2001 From: Victor Hurdugaci Date: Thu, 18 Dec 2014 09:58:51 -0800 Subject: [PATCH] Skip bug config on CI --- makefile.shade | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/makefile.shade b/makefile.shade index 8d967be4cd..f58cb0dcf4 100644 --- a/makefile.shade +++ b/makefile.shade @@ -427,8 +427,13 @@ functions Log.Warn(string.Format("Unable to clone repository at '{0}': {1}", repoUrl, ex.Message)); return; } - GitConfig("bugtraq.url", "http://github.com/aspnet/" + repo + "/issues/%BUGID%", repo); - GitConfig("bugtraq.logregex", @"#(\d+)", repo); + + // Configuring Git bug tracking settings hangs from time to time on Win7/2008 when running as part of the CI build + if (!IsTeamCity) + { + GitConfig("bugtraq.url", "http://github.com/aspnet/" + repo + "/issues/%BUGID%", repo); + GitConfig("bugtraq.logregex", @"#(\d+)", repo); + } } } }