Nitin Parashar
Nitin Parashar

Reputation: 247

VSTS Build Task Input Types

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

Upvotes: 7

Views: 8342

Answers (3)

Richard Szalay
Richard Szalay

Reputation: 84724

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

Upvotes: 2

starian chen-MSFT
starian chen-MSFT

Reputation: 33698

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

Service Endpoints in VSTS

Upvotes: 1

tj-cappelletti
tj-cappelletti

Reputation: 1864

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

Upvotes: 10

Related Questions