This repository was archived by the owner on Feb 23, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-52
lines changed Expand file tree Collapse file tree 4 files changed +7
-52
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
trigger :
2
2
- main
3
- - major-repo-refactoring
4
3
- refs/tags/*
5
4
6
5
pr :
10
9
name : ' VSEngSS-MicroBuild2022-1ES'
11
10
12
11
variables :
13
- basePath : ' src/APIM_ARMTemplate'
14
12
configuration : ' Release'
15
13
BASE_VERSION : ' 0.0.1'
16
14
PREVIEW_LABEL : ' preview'
@@ -55,24 +53,28 @@ stages:
55
53
inputs :
56
54
command : ' build'
57
55
arguments : ' --configuration $(configuration)'
58
- projects : ' $(basePath)/ **/*.csproj'
56
+ projects : ' **/*.csproj'
59
57
60
58
- task : DotNetCoreCLI@2
61
59
displayName : ' Run Tests'
62
60
inputs :
63
61
command : ' test'
64
62
arguments : ' --configuration $(configuration) --collect "Code coverage"'
65
63
publishTestResults : true
66
- projects : ' $(basePath) /**/*.test.csproj'
64
+ projects : ' tests /**/*.test.csproj'
67
65
68
66
- pwsh : |
69
67
Get-ChildItem -Path '$()' -Directory -Recurse | Where-Object { $_.FullName -match '\\bin|obj\\$(configuration)$' } | Write-Host
70
68
displayName: Show Build Directories
71
69
70
+ - pwsh : |
71
+ New-Item -Path '$(Build.Repository.LocalPath)\\src\\binaries\\$(configuration)' -ItemType Directory
72
+ displayName: Create binaries folder for Release Artifacts
73
+
72
74
- task : PublishBuildArtifacts@1
73
75
displayName : Publish Build Artifacts
74
76
inputs :
75
- pathToPublish : ' $(basePath)/apimtemplate/bin /$(configuration)'
77
+ pathToPublish : ' src/binaries /$(configuration)'
76
78
artifactName : build
77
79
78
80
- stage : postbuild
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments