Last active
May 8, 2022 08:19
-
-
Save jpvelasco/9d73b1069d56ca825f805a8a5eaa14b7 to your computer and use it in GitHub Desktop.
SQL YAML Build Configuration for Azure Pipelines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adventure Works SQL Database Project Build Configuration | |
trigger: | |
- master | |
pool: | |
vmImage: 'VS2017-Win2016' | |
variables: | |
solution: '**/*.sln' | |
buildPlatform: 'Any CPU' | |
buildConfiguration: 'Release' | |
steps: | |
- task: VSBuild@1 | |
inputs: | |
solution: '$(solution)' | |
platform: '$(buildPlatform)' | |
configuration: '$(buildConfiguration)' | |
- task: CopyFiles@2 | |
displayName: 'Copy Files to: $(build.artifactstagingdirectory)' | |
inputs: | |
SourceFolder: '$(system.defaultworkingdirectory)' | |
Contents: '**\bin\$(BuildConfiguration)\**' | |
TargetFolder: '$(build.artifactstagingdirectory)' | |
- task: PublishBuildArtifacts@1 | |
displayName: 'Publish artifacts' | |
inputs: | |
PathtoPublish: $(build.artifactstagingdirectory) | |
ArtifactName: 'PublishBuildArtifacts' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment