vsts-extension-samples | Sample extensions for Visual Studio Team Services | Code Editor library
kandi X-RAY | vsts-extension-samples Summary
kandi X-RAY | vsts-extension-samples Summary
Sample extensions for Visual Studio Team Services
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vsts-extension-samples
vsts-extension-samples Key Features
vsts-extension-samples Examples and Code Snippets
Community Discussions
Trending Discussions on vsts-extension-samples
QUESTION
I found a few hints on extension points or 'contributions' for Azure DevOps page:
- https://github.com/microsoft/vsts-extension-samples/blob/master/contributions-guide/vss-extension.json
- https://marketplace.visualstudio.com/items?itemName=ms-samples.samples-contributions-guide
Is there any other place I could check out for extension points? Microsoft deleted the documentation on it some time ago. This https://docs.microsoft.com/en-us/previous-versions/azure/devops/docs/extend/reference/targets/overview?view=azure-devops&viewFallbackFrom=vsts outputs 404.
I would like to extend "User Settings" page. Is it possible? What's the contribution target for that? Or is there any alternative way to do it? E.g. a hub with which would load data for a specific user?
...ANSWER
Answered 2020-Dec-22 at 02:22As far as I know, the documentation of extension targets has not been deleted.
Here is the link about the extension targets: Azure DevOps extensibility points.
As shown in Github Link in your question, it also contains long list supported extension targets
But I am afraid there is no extension targets to support extending User Settings page for users and there is no workaround could meet your requirements.
In addition, this is a suggestion ticket with the same requirement: Add extension point - User admin hub in our UserVoice Site. You could vote it and add your requirement in the comment.
QUESTION
Is it possible to run Azure DevOps Web extension when you open any azure devops page?
Probably, there is exists something like "type": "ms.vss-web.azure-load-action"
that starts when you open Azure DevOps Website.
In common way, extension contribution runs in a certain scenarios, like - opening hub, opening context menu, etc. Can you run an extension contribution in global context - after azure devops website was opened?
PS. I'he already searched in the VSTS samples, extension points and azure devops extension samples
Thank you, have a nice day!
...ANSWER
Answered 2020-Nov-13 at 07:20Unfortunately, extensions don't support "load action". We use extensions to enhance Azure DevOps and Team Foundation Server (TFS) with new web experiences, dashboard widgets, build tasks, and more. You may submit a user voice at website below:
https://developercommunity.visualstudio.com/content/idea/post.html?space=21
QUESTION
We have build an Azure Devops Extension that does several things within a step of a pipeline. When a pipeline is finished and results are displayed we coded it to show additional custom tabs, we used the vss-web-extension-sdk for adding these custom tabs to the results.
As of June 1st 2020 for unknown reasons those tabs do not appear anymore. There appear no additional details on why not (we did debugging in the developer consoles, no errors, no info logs). Normally we would at a minimal see some loading of additional pages and scripts for those custom tabs.
We did notice that a new update came out for Azure DeveOps in sprint 170 on June 1st but there are no mentions of potentially deprecating the use of the vss-web-extension-sdk.
We also checked the github pages below to see if anything got deprecated:
- https://github.com/Microsoft/vss-web-extension-sdk
- https://github.com/microsoft/vsts-extension-samples
As code reference, we make the tabs visible by adding their details to the manifest as so:
...ANSWER
Answered 2020-Jun-15 at 21:38QUESTION
I am working on creating an extension for azure devops, which creates a custom tab and displays the result.
I uploaded the file using "##vso[task.addattachment]".
Eg: console.log('##vso[task.addattachment type=TestReport;name=MyReport;]c:/user/index.html');
I am having problem in consuming that file and displaying it on new tab, I went through the sample code provided by MS - build_release_enhancer but still unable to display the file.
js file::
...ANSWER
Answered 2020-Jan-21 at 12:03The issue is resolved, actually the issue was with my vss-extension.json file. I had to declare scope:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vsts-extension-samples
Node.js
Team Foundation command line interface (npm install -g tfx-cli)
If the extension uses bower (look for bower.json), Bower (npm install -g bower)
TypeScript (npm install -g typescript)
Learn about advanced extension concepts like module loading, using UI controls, history, and more. Note: this sample is written in TypeScript.
This sample extension shows how to make a tab/section contribution to build summary page, reacting to build updates. This also has a sample code that allows user to render custom data results uploaded from a particular task in build.
As a section to any of your own contributed tab for build results view
As a section to the existing "summary" tab in build results view
As a tab to the build results view
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page