Skip to content

Commit

Permalink
reduce the amount of data included in copy step
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael7371 committed Feb 11, 2025
1 parent a4818f3 commit d9db65d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .azure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ The pipeline automatically triggers when:
## Pipeline Steps

1. **Copy Files**
- Copies all project files to the artifact staging directory
- Ensures all necessary source code is included in the artifact
- Copies project files to the artifact staging directory
- Excludes certain files/directories by default:
- `.git` directories
- `data` directories
- `docs` directories
- Markdown (`.md`) files

2. **Publish Artifact**
- Creates an artifact named 'jpo-ode'
Expand Down
9 changes: 7 additions & 2 deletions .azure/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ pool:
steps:
- task: CopyFiles@2
inputs:
SourceFolder: '../'
Contents: '**'
SourceFolder: '$(Build.SourcesDirectory)'
Contents: |
**
!**/.git/**
!**/data/**
!**/docs/**
!**/*.md
TargetFolder: '$(Build.ArtifactStagingDirectory)'

# Publish the artifacts directory for consumption in publish pipeline
Expand Down

0 comments on commit d9db65d

Please sign in to comment.