2 changed files
Build | ||
psvcloud.depend.psd1 | ||
azure-pipelines.yml | ||
Add comment 1 @{
Add comment 2 # Defaults for all dependencies
Add comment 3 Minus PSDependOptions = @{
Add comment 3 Plus PSDependOptions = @{
Add comment 4 Target = 'CurrentUser'
Add comment 5 Parameters = @{
Add comment 6 # Use a local repository for offline support
Add comment 14 # PowerShellGet = '2.0.1'
Add comment 15
Add comment 16 # Common modules
Add comment 17 Minus BuildHelpers = '2.0.1'
Add comment 18 Minus Pester = '4.6.0'
Add comment 19 Minus PlatyPS = '0.12.0'
Add comment 20 Minus psake = '4.7.4'
Add comment 21 Minus PSDeploy = '1.0.1'
Add comment 22 Minus PSScriptAnalyzer = '1.17.1'
Add comment 17 Plus BuildHelpers = '2.0.1'
Add comment 18 Plus Pester = '4.6.0'
Add comment 19 Plus PlatyPS = '0.12.0'
Add comment 20 Plus psake = '4.7.4'
Add comment 21 Plus PSDeploy = '1.0.1'
Add comment 22 Plus PSScriptAnalyzer = '1.17.1'
Add comment 23 # 'VMware.VimAutomation.Cloud' = '11.0.0.10379994'
Add comment 24 }
Add comment 25
Add comment 1 Minus # Starter pipeline
Add comment 2 Minus # Start with a minimal pipeline that you can customize to build and deploy your code.
Add comment 3 Minus # Add steps that build, run tests, deploy, and more:
Add comment 4 Minus # https://aka.ms/yaml
Add comment 5 Minus
Add comment 1 Plus # Build Pipeline
Add comment 6 2 pool:
Add comment 3 Plus # What environment will the build agent run on? (Windows / Linux / macOS)
Add comment 7 4 vmImage: "vs2017-win2016"
Add comment 8 5
Add comment 9 6 trigger:
Add comment 10 7 batch: true
Add comment 8 Plus
Add comment 9 Plus # What branches will trigger a build?
Add comment 11 10 branches:
Add comment 12 11 include:
Add comment 12 Plus # Any Pull Request merging into the master branch
Add comment 13 - master
Add comment 14 Minus - develop
Add comment 15 14
Add comment 16 15 steps:
Add comment 16 Plus # Build Tasks
Add comment 17 - powershell: |
Add comment 18 .\Build\build.ps1 -ResolveDependency -TaskList 'Init'
Add comment 19 displayName: "Install Dependencies"
Add comment 38 .\Build\build.ps1 -TaskList 'CreateBuildArtifact'
Add comment 39 displayName: "CreateBuildArtifact"
Add comment 40
Add comment 41 Plus
Add comment 42 Plus # Publish Tasks
Add comment 41 43 - task: PublishTestResults@2
Add comment 42 44 displayName: "Publish Unit Tests"
Add comment 43 45 inputs: