Пример #1
0
        private void OnAfterSetup(object sender, AfterSetupEventArgs e)
        {
            var b = e.Context.BuildSystem();

            if (b.IsRunningOnPipelines())
            {
                WriteGroupEndCommand();
            }
        }
        private void OnAfterSetup(object sender, AfterSetupEventArgs e)
        {
            var b = e.Context.BuildSystem();

            if (b.IsRunningOnTeamCity)
            {
                var tc = b.TeamCity;

                // we should write out a duration here for statistics, but cake doesn't include it
                tc.WriteEndProgress("Completed running Setup");
                tc.WriteEndBlock("Setup");
            }
        }