Skip to content

Commit 00b2dfe

Browse files
authored
ensure net - pullrequest honors excludepaths (Azure#49443)
1 parent b56a500 commit 00b2dfe

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

eng/pipelines/templates/jobs/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ parameters:
4545
- name: LimitForPullRequest
4646
type: boolean
4747
default: false
48+
- name: ExcludePaths
49+
type: object
50+
default: []
4851

4952
jobs:
5053
- ${{ if eq(parameters.ServiceDirectory, 'auto') }}:
@@ -77,6 +80,7 @@ jobs:
7780
ServiceDirectory: ${{ parameters.ServiceDirectory }}
7881
PublishingArtifactName: BuildPackagesArtifact
7982
ForceDirect: true
83+
ExcludePaths: ${{ parameters.ExcludePaths }}
8084

8185
- ${{ else }}:
8286
- job: Build
@@ -186,6 +190,7 @@ jobs:
186190
parameters:
187191
ServiceDirectory: ${{ parameters.ServiceDirectory }}
188192
PublishingArtifactName: TestPackagesArtifact
193+
ExcludePaths: ${{ parameters.ExcludePaths }}
189194

190195
AdditionalParameters:
191196
SDKType: ${{ parameters.SDKType }}

eng/pipelines/templates/stages/archetype-sdk-client.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ parameters:
5454
- name: oneESTemplateTag
5555
type: string
5656
default: true
57+
- name: ExcludePaths
58+
type: object
59+
default: []
5760

5861
extends:
5962
template: /eng/pipelines/templates/stages/1es-redirect.yml

eng/pipelines/templates/steps/pr-matrix-presteps.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ parameters:
66
- name: ForceDirect
77
type: boolean
88
default: false
9+
- name: ExcludePaths
10+
type: object
11+
default: []
912

1013
steps:
1114
- script: |
@@ -18,6 +21,7 @@ steps:
1821
parameters:
1922
ServiceDirectory: ${{parameters.ServiceDirectory}}
2023
PackageInfoDirectory: $(Build.ArtifactStagingDirectory)/PackageInfoPublishing
24+
ExcludePaths: ${{ parameters.ExcludePaths }}
2125

2226
# when we publish the packageinfo as an artifact, it actually cleans up the original files. Since we need them during matrix generation steps
2327
# that will execute directly after the pregeneration steps here, we output them to a publishing directory, copy from there into the target PackageInfoDirectory,

sdk/pullrequest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ extends:
2424
ServiceDirectory: ${{ parameters.Service }}
2525
CheckAOTCompat: true
2626
BuildSnippets: true
27+
ExcludePaths:
28+
- eng/packages/http-client-csharp/

0 commit comments

Comments
 (0)