Skip bug config on CI

This commit is contained in:
Victor Hurdugaci 2014-12-18 09:58:51 -08:00
parent 3b99fb5b9e
commit 03d174efe2
1 changed files with 7 additions and 2 deletions

View File

@ -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);
}
}
}
}