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
FR - Provide a way to get Task/Extension information #957
Comments
Task.json should be easy. The file is usually next to the index.js/ps1 and since it's plain Json can easily be parsed. In both PowerShell and Node it's easy to request the folder of the currently executing file. The vss-extension.json is a bit of a nightmare due to several reasons:
I think you can still request it from the REST API using the marketplace/extensions API. Each extension has a list of published files and there are specific asset types for the extension manifests. You can query the task's extension id through the Distributed task API. |
Hi @Herve-M, thank you for your request. |
This issue has had no activity in 90 days. Please comment if it is not actually stale |
re-open for tracking. |
Environment
azure-pipelines-task-lib version: 4.4.0
IssueFeature request descriptionLittle feature request as I didn't find any API in 'azure-pipelines-task-lib/task' to provide information from
task.json
orextension-vss.json
from within task context.Example of usage:
The text was updated successfully, but these errors were encountered: