Skip to content

Commit c3ce64a

Browse files
committed
RDCIST-3853: Exclude examples from sonarcloud
1 parent 50b04e5 commit c3ce64a

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

cicd/azure-pipeline-merge.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
trigger:
2+
branches:
3+
include:
4+
- main
5+
paths:
6+
include:
7+
- src
8+
- tests
9+
- cicd
10+
- scripts
11+
- .github
12+
13+
pool:
14+
vmImage: "ubuntu-22.04"
15+
16+
pr: none
17+
18+
variables:
19+
- group: SDLC-SM-HighCode-CI
20+
21+
resources:
22+
repositories:
23+
- repository: rd-ai-azure-pipeline-templates
24+
type: github
25+
ref: refs/tags/v6.5.1
26+
name: OutSystems/rd-ai-azure-pipeline-templates
27+
endpoint: OutSystems
28+
29+
jobs:
30+
- template: python/packages/new-azure-pipeline.yml@rd-ai-azure-pipeline-templates
31+
parameters:
32+
PackageName: "mcp-python-sdk"
33+
SonarCloudProject: "OutSystems_mcp-python-sdk"
34+
SonarCloudExclusionList: "tests/**/*,examples/**/*,scripts/*"
35+
SonarCloudCoverageExclusionList: "tests/**/*,examples/**/*,scripts/*"
36+
SkipIntegrationTests: true
37+
PythonVersion: 3.12
38+
PackageManager: "uv"

cicd/azure-pipeline-pr.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
pr:
2+
paths:
3+
exclude:
4+
- .idea
5+
- docs # Exclude changes to documentation
6+
7+
pool:
8+
vmImage: "ubuntu-22.04"
9+
10+
trigger: none
11+
12+
variables:
13+
- group: SDLC-SM-HighCode-CI
14+
15+
resources:
16+
repositories:
17+
- repository: rd-ai-azure-pipeline-templates
18+
type: github
19+
ref: refs/tags/v6.5.1
20+
name: OutSystems/rd-ai-azure-pipeline-templates
21+
endpoint: OutSystems
22+
23+
jobs:
24+
- template: python/packages/new-azure-pipeline-pr.yml@rd-ai-azure-pipeline-templates
25+
parameters:
26+
PackageName: "mcp-python-sdk"
27+
SonarCloudProject: "OutSystems_mcp-python-sdk"
28+
SonarCloudExclusionList: "tests/**/*,examples/**/*,scripts/*"
29+
SonarCloudCoverageExclusionList: "tests/**/*,examples/**/*,scripts/*"
30+
SkipIntegrationTests: true
31+
PythonVersion: 3.12
32+
PackageManager: "uv"

0 commit comments

Comments
 (0)