0

As part of my VSTS build/release definition set up, I would like to populate a dropdown list from the results of a preceding query. For instance, I want the query to return a list of all packages from an external repository and let's just say there are a total of 10 packages stored in that repository.

I then want the entire array of 10 packages displayed in a dropdown list, thereby ensuring that they can then be selected individually.

How can I accomplish this?

halfer
  • 19,824
  • 17
  • 99
  • 186
hitman126
  • 699
  • 1
  • 12
  • 43

1 Answers1

0

You can’t add dropdown list control to build/release definition, but you can custom build/release task to add a PickList control through VSTS extension.

There are some threads can help you:

Using a web API in task.json to fill picklists buildtask

How to display “Area path” in VSTS build task input PickList?

Service endpoints – Data sources

starian chen-MSFT
  • 33,174
  • 2
  • 29
  • 53