Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise...

25
Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release

Transcript of Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise...

Page 1: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Anubha Gupta | Software EngineerVisual Studio OnlineMicrosoft Corp.

Visual Studio EnterpriseLeveraging modern tools to streamline Build and Release

Page 2: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

UserStories

Tests

Check-in

Continuous Integration

Business Analyst

QA

Developer

Project Manager

Statistics

Architect

Diagrams

Planning

Team Lead

Tasks

Enforce Arch

BuildBug

The Enterprise Collaboration Solution

Storyboard

UML

Dev / QA

Page 3: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

UserStories

Tests

Business Analyst

QA

Developer

Project Manager

Statistics

Architect

Diagrams

Planning

Team Lead

Tasks

BuildBug

The Integration Problem

Storyboard

UML

Dev / QA

Check-in

$$$

Page 4: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Extensibility• Great extensibility

capabilities

• Integrate TFS with your favorite tool

Page 5: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Source Repos

Test Case Management

Feedback Management

Build and Continuous Integration

Agile Planning

Team Rooms

Team Foundation Server

ALM Your Way

Page 6: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Plan1 Monitor +

Learn

Release

Develop + Test

2

Development

Production

DevOps

4

3

Page 7: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

It starts with an idea – and a plan how to turn this idea into reality

1 - Plan

Plan

Manage work

Track progress

Develop + Test

1

Project starts

Page 8: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Write Code

Unit Testing

2

Build

Version Control

Build Verification

Release

Once the iteration starts, developers turn great ideas into features

2 - Develop + Test

Page 9: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

CloudLoad

TestingIntegration testing

environment

Automated functional testing

environment

3

Pre-production

environment

Stagingenvironme

nt

Monitor + Learn

When tests pass, the build is deployed to environments for each stage in the release process

3 - Release

Page 10: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

4

Monitor

Feedback

Plan the next iteration

Learn and understand how users use your app, how it reacts and quickly fix issues and bugs

4 - Monitor + Learn

Page 11: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

DevelopersOperations

Testers

Challenges

Solutions

• Insufficient Quality Gates• Reliable, Repeatable Releases• Approval Process• Compliance & Regulation• Environment Management • Build / Release

Management• Out of the Box Support• Continuous Integration• Cross Platform Support

ReleaseContinuous, Automated, Repeatable

• Lab Management• Architecture Enforcement• CI / Gated Check In• Test Impact Analysis• Fakes• TDD

Modern Application Lifecycle

Roles

Page 12: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

ReleaseContinuous, Automated, Repeatable

Modern Application Lifecycle

Feedback

Challenges

1. Insufficient Quality Gates2. Reliable, Repeatable Releases3. Approval Process4. Compliance & Regulation5. Environment Management

Page 13: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Your Way, Your Platform

Easy Customization

Change Control

Secret Variables

Drafts & Clones

Team Build 2015:Design

Page 14: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Cross Platform Agents

Real Time Status

Agent Routing

Improved CI

Automated Testing

Team Build 2015:Execute

Page 15: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

GIT improvements I• Gates check-

ins

• Automated built Pull Requests

• Enforce reviewers

Page 16: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

GIT improvements IIQuick code editing

Add or update file

Page 17: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Visual Studio Enterprise - DevOps

DEMO

• Create build definition

• Real time build console

• Exploring your repo

• Editing code

• Using pull requests

• Understanding branch history

Page 18: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Release Management

Automation

Approval Workflow

TFS Integration

Environments

Analytics & Reporting

Page 19: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Use case of Release Management

1. Feature branch I

2. Feature branch II

3. Team QA environment

4. Multi configuration testing

5. Master branch

6. Check-in

7. Integration environment

8. Production environment

Page 20: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

ReleaseManagement

Ship better apps, fasterVisual Studio Release Management makes it easy to automate deployment and testing of your applications in multiple environments

Teams can create release definitions and automate deployment in repeatable, reliable ways while tracking simultaneous in-flight releases

Incorporate automated functional tests or manual approvals in a release definition to automate the release process all the way to production

Page 21: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

How does Release Management work?Makes a new requestQueues deploymentWork on a jobDownloads artifactsAutomation stepsPushes logsNext environment

Page 22: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Preview : Release Management

Page 23: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Preview : Release Management

Page 24: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Preview : Release validation

Page 25: Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.

Questions?