Code Monkey home page Code Monkey logo

exportpipelinedefinitions's People

Contributors

brucehaley avatar

Stargazers

 avatar  avatar

Watchers

 avatar

exportpipelinedefinitions's Issues

Consider allowing non-azure.com domains

We have ADO through on-prem servers, so instead of azure.com/MyCompany our servers are like azure.mycompany.com - would it be possible to update this tool to allow for connecting to these types of servers?

Reformat the .json output to be importable via the DevOps UI

Azure DevOps UI will not import a .json file from this application to create a new pipeline definition. It would be nice if the .json file output were formatted so the UI could successfully import it.

I do not currently have plans to do this. If someone else wanted to do it, that would be great.

Extra step to link Classic pipelines TaskId with Extenison/Task name

You've linked to this tool from https://stackoverflow.com/questions/71250584/how-to-check-if-installed-extensions-are-used-in-pipelines as being useful in auditing the contents of pipelines, especially the inclusion of extensions. There is no default functionality in Azure DevOps to indicate if an installed extension is actually in use or not ("in use" = defined in a pipeline irrespective of when/whether the pipeline was run). Thanks - it's brilliant, and works well for YAML defined pipelines.

For classic pipelines, the output in the .json files doesn't list the extension/task name, instead it refers to taskId. This means that you can't only use the extension/task name (e.g. AmazonWebServices.aws-vsts-tools) for searching, you also need to know the TaskId and search for that...except I couldn't find an API call to link taskId and extension. However, there is an undocumented API at https://dev.azure.com/{{organization}}/_apis/distributedtask/tasks which lists extensions/tasks e.g.

{
	"value": [{
		"id": "{{the taskId we're looking for}}",
		"version": {},
		"friendlyName": "{{friendly name}}",
		"description": "{{description}}",
		"contributionIdentifier": "{{dotted extension/task name e.g. AmazonWebServices.aws-vsts-tools.S3Download}}"
	}]
}

This gives you a few options then for how you continue the audit/search for extensions in use in your pipeline definitions. I've not been able to compare if taskId is unique to an Azure DevOps organisation or is a parameter of the extension globally. Just wanted to share in case it's useful for adding to the Readme. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.