You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested the task.json content on https://jsonlint.com/, and it is valid.
if i open file "test.sample-build-release-task-0.0.1.vsix" as a zip it contains the task.json file.
I login to our tfs server successfully with the command
"tfx login --auth-type pat --token **************************** --service-url https://mytfsserver/mycollections"
but uploading the task fails with command
"tfx build tasks upload --task-path C:\temp\SampleTask"
The text was updated successfully, but these errors were encountered:
Hi @pkuijper I cannot reproduce your issue using node version 22.3.0, npm version 10.8.1, and tfx version 0.17.0 (currently the latest one). Is it possible that tfx cannot read the task.json file due to lack of access rights? Can you try to run it as administrator?
node version 22.3.0
npm version 10.8.1
File structure:
I tested the task.json content on https://jsonlint.com/, and it is valid.
if i open file "test.sample-build-release-task-0.0.1.vsix" as a zip it contains the task.json file.
i followed steps
https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops
and the steps in
https://4bes.nl/2021/02/21/create-a-custom-azure-devops-powershell-task/
I login to our tfs server successfully with the command
"tfx login --auth-type pat --token **************************** --service-url https://mytfsserver/mycollections"
but uploading the task fails with command
"tfx build tasks upload --task-path C:\temp\SampleTask"
The text was updated successfully, but these errors were encountered: