Introduction
THe Build YML which validates, stamps with a version number and copies the templates of the CloudBoost Git repository to a drop folder.
queue:
name: Hosted VS2017
trigger:
branches:
include:
- master
steps:
- task: PowerShell@1
displayName: PowerShell Script
inputs:
scriptName: '_pipelines/VSTS/PowerShellScripts/SetARMTagsDuringBuild/SetARMTagsDuringBuild.ps1'
arguments: '_azure/ARM/$(folder)'
- task: CopyFiles@2
displayName: Copy Files
inputs:
SourceFolder: '_azure/ARM/$(folder)'
Contents: |
**/azuredeploy.json
**/azuredeploy.parameters.json
**/readme.md
TargetFolder: '$(Build.ArtifactStagingDirectory)'
OverWrite: true
- task: PublishBuildArtifacts@1
displayName: Publish Artifact
inputs:
ArtifactName: '$(folder)'