Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to create custom parameters on azure release pipeline

I am building an azure relase pipeline, When i press 'create release', I am brought to the following screen in which i can give input. How can i add in my own custom field, to define a new parameter?

For clarification, I am asking how to do those on a classic release pipeline, NOT a new yaml pipeline.

Here is how i would create parameters on a yaml pipeline:

parameters:
- name: aspName
  displayName: 'App service plan name'
  type: string
  default: mydefaule

enter image description here

like image 681
MantyQuestions Avatar asked Sep 13 '25 13:09

MantyQuestions


1 Answers

The custom Runtime Paramters is only supported by Yaml Pipeline.

Here is a doc about Runtime parameters

In the release pipeline, I am afraid that there is no exactly the same feature.

Similar feature: You could set the release variable as Settable at release time.

enter image description here

Then when you run the release pipeline, you could set the variable value.

enter image description here

Note: This is Release Pipeline variable instead of Parameters. If you still want to get exactly the same function(Runtime parameters) as in the yaml pipeline, I suggest that you could vote the following Suggestion Ticket in Our UserVoice site: Runtime parameters with Release pipelines.

like image 174
Kevin Lu-MSFT Avatar answered Sep 16 '25 02:09

Kevin Lu-MSFT