Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide option to limit artifact size in PublishBuildArtifactsV1 #18293

Conversation

Pranshu-Negi
Copy link
Contributor

Task name: PublishBuildArtifactsV1

Description: Added an option in the PublishBuildArtifactsV1 task to set the maximum size of artifacts that are to be uploaded and warns the user if it exceeds the size that's specified by the user.
image

Documentation changes required:

Added unit tests: N

Attached related issue: https://dev.azure.com/mseng/AzureDevOps/_workitems/edit/2041781/

Checklist:

  • Task version was bumped - please check instruction how to do it
  • Checked that applied changes work as expected

@Pranshu-Negi Pranshu-Negi requested a review from a team as a code owner May 16, 2023 10:12
@aleksandrlevochkin
Copy link
Contributor

I've tested the task with changes from this PR in following scenarios:

  • without artifact size limits specified
  • with positive and negative numbers set as a limit
  • with upload sizes up to 2GB
  • with DownloadArtifact task
  • with latest Linux, MacOS and Windows
  • with StoreAsTar set to true and false
  • with MS hosted / self hosted agents
  • with publishLocation set to container and filePath
  • with Parallel, ParallelCount and FileCopyOptions parameters

Everything is working fine for me.

image

image

image

@Pranshu-Negi Pranshu-Negi merged commit 95b8cce into microsoft:master May 29, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants