Presentation is loading. Please wait.

Presentation is loading. Please wait.

4/15/2018 6:21 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.

Similar presentations


Presentation on theme: "4/15/2018 6:21 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN."— Presentation transcript:

1 4/15/2018 6:21 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Confidence at speed: Visual Studio 2017 and your CI pipeline
4/15/2018 6:21 PM B8019 Confidence at speed: Visual Studio 2017 and your CI pipeline Ahmed Metwally & Mark Wilson-Thomas Senior Program Managers Visual Studio IDE © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Microsoft Build 2017 4/15/2018 6:21 PM What you will see today Configure CI/CD: Set up for development at speed Code quality: Commit with confidence, right info, right time Pull Requests in the IDE: Start PRs without losing context CI build and PR notifications: Know what you need to, fast © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 What is Continuous Delivery?...
Microsoft Build 2017 4/15/2018 6:21 PM What is Continuous Delivery?... © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 Build Automation Scheduled Automated builds Version Control Build
Microsoft Build 2017 4/15/2018 6:21 PM Build Automation Scheduled Automated builds Version Control Build Scheduled Daily Deploy Manual Commit © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Continuous Integration Services
Microsoft Build 2017 4/15/2018 6:21 PM Continuous Delivery Automated build on every change to the branch Automated deploy on every successful build Continuous Integration Services Version Control On change Build Scheduled Daily On Build Deploy Commit Manual © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Continuous Integration Services
Microsoft Build 2017 4/15/2018 6:21 PM Get Started Continuous Integration Services Version Control On change Build On Build Deploy Repository Branches Workflow Policies Roles Build Def Build agent Build tasks Test tasks Analysis Packaging Release Def Target host Svc principle Svc endpoint Release tasks Commit © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Continuous Integration Services
Microsoft Build 2017 4/15/2018 6:21 PM Get Started Continuous Integration Services Version Control On change Build On Build Deploy Repository Branches Workflow Policies Roles Build Def Build tasks Test tasks Analysis Packaging Release Def Target host Svc principle Svc endpoint Release tasks Commit © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Setting up your CI/CD from Visual Studio 2017
4/15/2018 6:21 PM Setting up your CI/CD from Visual Studio 2017 Ahmed Metwally © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 Spot issues before they hit CI..
4/15/2018 6:21 PM Spot issues before they hit CI.. Mark Wilson-Thomas © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 Seeing issues before they hit your CI
Microsoft Build 2017 4/15/2018 6:21 PM Seeing issues before they hit your CI “Heads-up” on quality issues just when you need it “Commit” is in CD4VS Extension for Enterprise Users Anything in the error list will benefit from this experience: Edit-time analysis sources Non-edit-time analysis sources that feed the error list Looking at a PR experience too… © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 PRs with Code Quality Info
4/15/2018 6:21 PM Concept Preview PRs with Code Quality Info Mark Wilson-Thomas © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Create Pull Request Microsoft Build 2017 4/15/2018 6:21 PM
From dev/myFeatureBranch2 to master Fixes to HomeController.cs Create Pull Request <Enter a pull request title> Create pull request @FabrikamProductProjectTeam; Reviewers: x Submit with issues Build & Code Analysis Results View Issues 1 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14

15 Staying on top of CI status in Visual Studio 2017
4/15/2018 6:21 PM Staying on top of CI status in Visual Studio 2017 Ahmed Metwally © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 PR, Build and CI Errors Notifications
4/15/2018 6:21 PM Concept Preview PR, Build and CI Errors Notifications Ahmed Metwally © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 PR Review : TodoListApp ‘List Icons’
3 HomeControllerTest 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 using Microsoft.AspNetCore.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using TodoListApp; using TodoListApp.Controllers; namespace TodoListApp.Test.Controllers { public class HomeControllerTest public void Index() // Arrange HomeController controller = new HomeController(); // Act ViewResult result = controller.Index() as ViewResult; // Assert Assert.IsNotNull(result); Assert.AreEqual(“Home Page”, result.ViewBag.Title); } Solution Items global.json src Properties References Dependencies Controllers appsettings.json program.cs project.json Startup.cs web.config Solution ‘TodoListApp’ (1 project) Service Capabilities TodoListApp tests App.config Package.config TodoListApp.Tests Application Insights… PR Review : TodoListApp ‘List Icons’ PR created by Jane Doe in ‘master’ waiting for your review. Click here to start  ✔ 1 1

18 3 HomeControllerTest 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 using Microsoft.AspNetCore.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using TodoListApp; using TodoListApp.Controllers; namespace TodoListApp.Test.Controllers { public class HomeControllerTest public void Index() // Arrange HomeController controller = new HomeController(); // Act ViewResult result = controller.Index() as ViewResult; // Assert Assert.IsNotNull(result); Assert.AreEqual(“Home Page”, result.ViewBag.Title); } Solution Items global.json src Properties References Dependencies Controllers appsettings.json program.cs project.json Startup.cs web.config Solution ‘TodoListApp’ (1 project) Service Capabilities TodoListApp tests App.config Package.config TodoListApp.Tests Application Insights…  ✔ 1 1

19 Roadmap for CI/CD features in Visual Studio
Microsoft Build 2017 4/15/2018 6:21 PM Roadmap for CI/CD features in Visual Studio Nov 2016 May 2017 Next… CD4VS DevLabs Extension Visual Studio 2017 CD4VS DevLabs Extension 1st Release ASP.NET and ASP.NET Core [Docker] CI/CD config 8th Update CI build failure notification Link to build results CA on pre-commit Coming Soon… In IDE PR experience Code analysis on PR Visual Studio 2017 RTW Preview version 15.3 ASP.NET and ASP.NET Core CI/CD config © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20 Call to action + Get Visual Studio 2017 Preview Version 15.3
4/15/2018 6:21 PM + Call to action Get Visual Studio 2017 Preview Version 15.3 Adds ASP.NET and ASP.NET Core CI/CD configuration Get the Continuous Delivery Tools for Visual Studio (CD4VS) now #MSBuild © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

21 Keep in touch, help us improve!
Microsoft Build 2017 4/15/2018 6:21 PM + Keep in touch, help us improve! Follow our updates on Join our Slack Channel at Share feedback at © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

22 Related sessions #MSBuild Session Code Title Speakers
Microsoft Build 2017 4/15/2018 6:21 PM Related sessions Session Code Title Speakers Time and Location B8028 Continuous delivery on Microsoft Azure Martin Woodward B8021 Coding at 88MPH: Tips and tricks with Visual Studio 2017 Allison Buchholtz-Au & Justin Clareburt 5:30pm, Thursday May 11 WSCC Hall 6B B8036 Supercharge your debugging in Visual Studio 2017 [C+E Dev] Kaycee Anderson 12:30pm, Friday May 12 WSCC Hall 6E B8083 The Future of Visual Studio Amanda Silver & Tim Sneath 9am, Friday May 12 #MSBuild © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 4/15/2018 6:21 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "4/15/2018 6:21 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN."

Similar presentations


Ads by Google