-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
31 lines (27 loc) · 953 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
pr:
branches:
include:
- dev
pool:
vmImage: 'windows-2019'
steps:
- task: MSBuild@1
displayName: "Build Database Project"
inputs:
solution: 'Athena-DDLAutomationDemo/Athena-DDLAutomation/Athena-DDLAutomation.sqlproj'
- task: CopyFiles@2
inputs:
Contents: |
Athena-DDLAutomationDemo\Athena-DDLAutomation\bin\Debug\Pre-DACPAC Scripts\*.sql
Athena-DDLAutomationDemo\Athena-DDLAutomation\bin\Debug\Supporting SQL Scripts\*.sql
Athena-DDLAutomationDemo\Athena-DDLAutomation\bin\Debug\Athena-DDLAutomation.dacpac
TargetFolder: '$(Build.ArtifactStagingDirectory)/Scripts'
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Scripts'
ArtifactName: Dacpac
ArtifactType: Container