Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit f82486e

Browse files
authored
fix paths + remove major-repo-refactoring branch trigger (#648)
* fix paths + remove major-repo-refactoring branch trigger * store build artifacts just in `src/Release` directory * add `create binaries release folder` step * delete previous public pipelines Co-authored-by: Dmitrii Korolev <dmkorolev@microsoft.com>
1 parent adc971f commit f82486e

File tree

4 files changed

+7
-52
lines changed

4 files changed

+7
-52
lines changed

.azure-pipelines/common/build-and-test.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.azure-pipelines/main.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
trigger:
22
- main
3-
- major-repo-refactoring
43
- refs/tags/*
54

65
pr:
@@ -10,7 +9,6 @@ pool:
109
name: 'VSEngSS-MicroBuild2022-1ES'
1110

1211
variables:
13-
basePath: 'src/APIM_ARMTemplate'
1412
configuration: 'Release'
1513
BASE_VERSION: '0.0.1'
1614
PREVIEW_LABEL: 'preview'
@@ -55,24 +53,28 @@ stages:
5553
inputs:
5654
command: 'build'
5755
arguments: '--configuration $(configuration)'
58-
projects: '$(basePath)/**/*.csproj'
56+
projects: '**/*.csproj'
5957

6058
- task: DotNetCoreCLI@2
6159
displayName: 'Run Tests'
6260
inputs:
6361
command: 'test'
6462
arguments: '--configuration $(configuration) --collect "Code coverage"'
6563
publishTestResults: true
66-
projects: '$(basePath)/**/*.test.csproj'
64+
projects: 'tests/**/*.test.csproj'
6765

6866
- pwsh: |
6967
Get-ChildItem -Path '$()' -Directory -Recurse | Where-Object { $_.FullName -match '\\bin|obj\\$(configuration)$' } | Write-Host
7068
displayName: Show Build Directories
7169
70+
- pwsh: |
71+
New-Item -Path '$(Build.Repository.LocalPath)\\src\\binaries\\$(configuration)' -ItemType Directory
72+
displayName: Create binaries folder for Release Artifacts
73+
7274
- task: PublishBuildArtifacts@1
7375
displayName: Publish Build Artifacts
7476
inputs:
75-
pathToPublish: '$(basePath)/apimtemplate/bin/$(configuration)'
77+
pathToPublish: 'src/binaries/$(configuration)'
7678
artifactName: build
7779

7880
- stage: postbuild

.azure-pipelines/pr-build.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.azure-pipelines/scheduled-build.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)