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

[BUG]: ##vso[artifact.upload artifactname=Test]C:\test.txt truncates file name on upload #4256

Closed
1 of 4 tasks
JohnSchmeichel opened this issue Apr 27, 2023 · 1 comment
Closed
1 of 4 tasks
Assignees

Comments

@JohnSchmeichel
Copy link
Member

What happened?

Using the artifact.upload logging command is lopping off the first character in the file name if the file being uploaded is at the root directory.

echo Test > C:\test.txt
echo ##vso[artifact.upload artifactname=Test]C:\test.txt

Pipeline logs:

Async Command Start: Upload Artifact
Uploading 1 files
Max dedup parallelism: 192
Building file tree
Uploaded 0 out of 7 bytes.
Uploaded 7 out of 7 bytes.
Associating files
Total files: 1 ---- Associated files: 0 (0%)
File upload succeed.
Upload 'C:\test.txt' to file container: '#/24864114/Test'
Associated artifact 67 with build 626559
Async Command End: Upload Artifact

Pipeline artifacts:
image

Versions

3.220.0 / Microsoft Windows Server 2022 10.0.20348

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

No response

Version controll system

No response

Relevant log output

No response

@max-zaytsev
Copy link

@JohnSchmeichel thanks for reporting!
We are working on more prioritized issues at the moment but will get back to this one soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants