Skip to content

Commit 5abf823

Browse files
authored
Update azure-devops.yml
1 parent 8c032ee commit 5abf823

1 file changed

Lines changed: 32 additions & 2 deletions

File tree

azure-devops.yml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
1-
- task: VSBuild@1
1+
resources:
2+
- repo: self
3+
queue:
4+
name: Hosted Ubuntu 1604
5+
#Your build pipeline references an undefined variable named ‘Parameters.RestoreBuildProjects’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
6+
#Your build pipeline references an undefined variable named ‘Parameters.RestoreBuildProjects’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
7+
#Your build pipeline references the ‘BuildConfiguration’ variable, which you’ve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
8+
#Your build pipeline references an undefined variable named ‘Parameters.TestProjects’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
9+
#Your build pipeline references the ‘BuildConfiguration’ variable, which you’ve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
10+
#Your build pipeline references the ‘BuildConfiguration’ variable, which you’ve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
11+
steps:
12+
- task: DotNetCoreCLI@2
13+
displayName: Restore
14+
inputs:
15+
command: restore
16+
17+
projects: '$(Parameters.RestoreBuildProjects)'
18+
19+
20+
- task: DotNetCoreCLI@2
221
displayName: Build
22+
inputs:
23+
projects: '$(Parameters.RestoreBuildProjects)'
24+
25+
arguments: '--configuration $(BuildConfiguration)'
326

4-
- task: VSTest@2
27+
28+
- task: DotNetCoreCLI@2
529
displayName: Test
30+
inputs:
31+
command: test
32+
33+
projects: '$(Parameters.TestProjects)'
34+
35+
arguments: '--configuration $(BuildConfiguration)'

0 commit comments

Comments
 (0)