azure-devops-cli-extension icon indicating copy to clipboard operation
azure-devops-cli-extension copied to clipboard

Universal artifacts publish - path attribute cannot start with '.\'

Open ghost opened this issue 7 years ago • 4 comments

Describe the bug

When publishing a 'universal' artifact. Using "--path .\my-file" does not work but "--path my-file" does.

Command Name az artifacts universal publish Extension Name: azure-devops. Version: 0.12.0.

Errors:

Failed to hash a page of files. Exception listed below...

To Reproduce:

Follow the steps in Universal Quickstart (on Windows Powershell) Publish a file to the feed without leading dot-slash ("my-file") and then with leading dot-slash (".\my-file").
It only works without the leading dot-slash

Expected Behavior

Expected output something like...

{
  "Description": "Your description",
  "ManifestId": "0478B70A269937B4961F8052F7669FF32F5B3892A96C3AF09D931EF49189623B01",
  "SuperRootId": "A78F1FA046FBFA0EB481D1569F49617D361E799D6074190432218E4751E3F69902"
}

Environment Summary

Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.71

Extensions:
aks-preview 0.4.5
azure-devops 0.12.0

Additional Context

ghost avatar Aug 21 '19 21:08 ghost

@atbagga I unfortunately can't change the tags on this. Could you tag it as Area: Packages and bug?

Additionally, the two open issues that are having the same errors can likely be combined into this thread. Thanks

@owenhuynMSFT, @jahsu-MSFT, Tagging you are requested

apluche avatar Aug 21 '19 23:08 apluche

@apluche hey! Did we end up fixing or logging anything here?

elbatk avatar Oct 16 '19 20:10 elbatk

Also tagging @owenhuynMSFT and @jahsu-MSFT

elbatk avatar Oct 22 '19 15:10 elbatk

I believe this is a duplicate of https://github.com/Azure/azure-devops-cli-extension/issues/749

mjiderhamn avatar May 25 '20 10:05 mjiderhamn