-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaz_devop_build_pipe_02.yml
63 lines (52 loc) · 1.94 KB
/
az_devop_build_pipe_02.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# 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
# there are three types of triggers: pull triggers, scheduled triggers
# and the standard, which is specified with the "trigger" keyword
# specify at least one branch, which triggers,
# when this branch is pushed
trigger:
- master
# pool specifies, on which agents the pipeline jobs can run
pool:
# vmImage: 'windows-latest'
name: 'Default'
# steps lists all the single steps the agent
# execute
# script executes some code in a dos cli
# task is a description of all tasks, which are installed
# on the left side of this pane
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
- script:
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'
# This task is the SCA builder and publisher of the
# nuget package
# tried with a localdb and failed
# This section is for the az vmware agent
#- task: RedgateSqlChangeAutomationBuild@4
# inputs:
# operation: 'Build SQL Change Automation Project'
# sqlProj: 'CONTOSO_DW_SCA_ONE/CONTOSO_DW_SCA_ONE.sqlproj'
# packageName: 'CONTOSO_DW_SCA_ONE'
# tempServerTypeBuild: 'localDB'
# nugetPackageVersionSelector: 'Specific'
# nugetPackageVersion: '1.0'
# requiredVersionOfDlma: 'latest'
# trying it with a proper sql server as build server
# this section is for the local agent on SLS-LT-ALEXD2
- task: RedgateSqlChangeAutomationBuild@4
inputs:
operation: 'Build SQL Change Automation Project'
packageName: 'CONTOSO_DW_SCA_ONE'
tempServerTypeBuild: 'sqlServer'
tempServerNameBuild: 'SLS-LT-ALEXD2\SQLEXPRESS'
tempDatabaseNameBuild: 'CONTOSO_TEMP'
authMethodBuild: 'windowsAuth'
nugetPackageVersionSelector: 'Specific'
nugetPackageVersion: '1.0'
requiredVersionOfDlma: 'latest'