Reputation: 638
Regarding: https://github.com/Microsoft/vsts-tasks
Is it possible to create a task that acts like the Get sources Workspace mappings, where I can have an [+ Add] button to add as many values as needed?
I've been looking through documentation and sample blogs, but all examples I find have a pretty basic task.json. And I haven't found another task to add that has this functionality.
Thanks!
Upvotes: 0
Views: 446
Reputation: 29976
This cannot be achieve. The "Add" option you see is not for build tasks just as virusstorm mentioned.
For build tasks, you can only specify a fixed number of inputs in the task.json. We are working on adding dictionary input which may help you with this kind of issues.
Refer to these links for details:
Upvotes: 1