3
votes

I googled last few days to get the list of input types supported by VSTS Task plugin, but don't get anything appropriate.

Is this possible to create Grid in task plugin

3

3 Answers

7
votes

At present, there is no way to create a Grid on the task input page. For a complete list of the supported types, take a look at the Reference for creating custom build tasks within extensions for details. This is schema definition for what your custom task JSON needs to conform to. If you look under inputs/items/properties/type you will see these supported types:

  • boolean
  • connectedService:ServiceType
  • connectedService:AzureRM
  • connectedService:Azure
  • connectedService:Azure:Certificate,UsernamePassword
  • connectedService:Chef
  • connectedService:ssh
  • connectedService:Generic
  • connectedService:Jenkins
  • connectedService:servicefabric
  • filePath
  • multiLine
  • pickList
  • radio
  • string
2
votes

You can define custom editor experiences using a KnockoutJS-based HTML page (via the vss-web-extension-sdk) and registering it as a ms.vss-distributed-task.task-input-editor contribution in your extension's vss-extension.json.

The vsts-extension-samples repository includes an example of this in release-manageent/editor-extension

1
votes

In addition, you can create custom endpoint and use in task: connectedService:[endpoint name].

Service Endpoints in VSTS