Build Fundamentals and Continuous Integration Ervin Loh Microsoft MVP
Synopsis Explore the benefits of handling changes systematically so that your systems maintain integrity over time with Continuous Integration. In this session, you will learn about the benefits of merging all working copies of developers' code with a shared mainline, producing a new build upon code check-in. Lastly, this session demonstrates and discusses the benefits of running load, integration, and unit tests automatically attached to continuous integration.
Presenter Ervin Loh (Visual Studio ALM MVP) Profile https://mvp.microsoft.com/en-us/PublicProfile/4025202 Profile Ervin Loh is currently the Application Lifecycle Management Program Manager at K365Labs Sdn Bhd. He is the user group lead of Application Lifecycle Management User Community, a charter of TechNation. He has also been presented with the Microsoft MVP award in the Visual Studio ALM competency for 8 consecutive years from 2009 through 2016. He owns more than 10 years experience in the IT industry where he obtained professional certifications from IREB, ISTQB, and Microsoft. He works on a variety of Application Lifecycle Management products. He is also active in the IT community space by contributing contents to Microsoft Malaysia's START.NET and Ultimate program workshops and talks in conferences, events and user groups such as TechEd, Softec, Tech Insights, MITPM, ALMUC, and MIND.
Agenda Overview of Team Foundation Build 2015 Demonstrations Build for your Platform, Speaking your Language Easy Customization Extensible Cross-platform Tasks and Build Engine Run Unit Tests and Publish Results Real-time Build Status Definition Auditing and Diff Elastic Use of Self-updating Resources Support for Secret Variables Support for Continuous Integration Demonstrations Build Agent Pools and Queues Build Definitions Build and Test Result Analysis Continuous Integration and Deployment Scale out Testing Using Machine Groups
Overview of Team Foundation Build 2015 Build for your Platform, Speaking your Language Easy Customization Extensible Cross-platform Tasks and Build Engine Run Unit Tests and Publish Results Real-time Build Status Definition Auditing and Diff Elastic Use of Self-updating Resources Support for Secret Variables Support for Continuous Integration
Build for your Platform, Speaking your Language Course 6214A Module 5: Using Team Build Build for your Platform, Speaking your Language Build for Windows, iOS, Android, Java (Ant, Maven, or Gradle), or Linux using the same domain-specific languages (DSL) you use every day on your dev machine. Build Xamarin apps for both iOS and Android and run tests on Xamarin's Test Cloud as part of the build.
Easy Customization Edit in the web and leverage existing knowledge of popular script languages. No need to ramp up on XAML workflow to customize the build.
Extensible Cross-platform Tasks and Build Engine This web- and script-based build system works with both your windows agents and Xplat agents (runs on Mac and Linux systems). If you need to add a task is not currently offered, you can create your own activity using our open source activities as examples of best practices.
Run Unit Tests and Publish Results Run unit tests using just about any framework you like including NUnit, MSTest, and JUnit. Publish test results to and include them in the build summary.
Real-time Build Status Real-time status and time breakdowns project by project. Live console view in the web with real time status of each task.
Definition Auditing and Diff Know who changed what in the build definition and when they did it
Elastic Use of Self-updating Resources Agents can span team project collections. Side-by-side installs and remote agents are xcopy (download from the web UI). No need to install Team Foundation Server on your build machines. You can stop running around and worrying about updating your build agents when we release a new version. Visual Studio Team Services (or your on-premises Team Foundation Server) automatically distributes agent updates, leaving in place whatever capabilities (such as compilers, SDKs, or tools) you have installed on those machines.
Support for Secret Variables Lock a variable to hide it from the web and store it in a strong box.
Support for Continuous Integration Monitor and track multiple branches. Associate your builds with each branch.
Demonstrations Build Agent Pools and Queues Build Definitions Build and Test Result Analysis Continuous Integration and Deployment Scale out Testing Using Machine Groups
Build Agent Pools and Queues You can create and configure build agent pools and queues in order to support the new agents in Team Foundation Build 2015 (formerly referred to as Build vNext). This new scriptable build system is web-based and cross-platform, and is recommended for all new and existing builds going forward.
Demo Build Agent Pools and Queues
Build Definitions You can create a basic build definition from one of the provided templates and then queue the build for execution.
Demo Build Definitions
Build and Test Result Analysis You can examine the build results and also see how to view the results from the tests that were executed as part of the build.
Demo Build and Test Result Analysis
Continuous Integration and Deployment You can modify a build to support continuous integration. In addition, you will also learn about some of the deployment options available.
Demo Continuous Integration and Deployment
Scale out Testing Using Machine Groups You can scale out your testing needs by making use of machine groups and test agents running on other machines.
Demo Scale out Testing Using Machine Groups
Resources TechNet Microsoft Learning Microsoft MSDN Microsoft Resources for IT Professionals http://microsoft.com/technet Microsoft Certification & Training Resources www.microsoft.com/learning MSDN Microsoft Resources for Developers http://microsoft.com/msdn
Q&A