Уреди

Делите путем


Classic process parameters

Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019

Note

Process parameters are only available in Classic pipelines. For parameters in YAML pipelines, see runtime parameters.

Process parameters are used in Classic pipelines and differ from variables in the types of input they support. Variables only accept string inputs, whereas process parameters support additional data types such as checkboxes and drop-down lists.

Process parameters are a list of essential settings that can be shared across all tasks in your pipeline definition. Having these parameters in one location allows you to quickly edit these arguments without having to click through each task individually. Templates come with a set of predefined process parameters.

Note

Process parameters are not available in release pipelines.

Configure process parameters

  1. Sign in to your Azure DevOps organization, and then navigate to your project.

  2. Select your classic pipeline, and then select Edit.

  3. Select Pipeline under Tasks, scroll down to Parameters, and configure them as needed.

    A screenshot displaying the process parameters in a classic pipeline.

Add new process parameters

  1. Sign in to your Azure DevOps organization, and then navigate to your project.

  2. Select your classic pipeline, and then select Edit.

  3. Select the task you want to add to the process parameters, and then select Link settings. Configure your settings, and then select Link.

    A screenshot showing how to link new task settings to process parameters in a classic pipeline.

  4. Once linked, you can find your linked task settings under your Pipeline > Parameters.

    A screenshot displaying the newly added process parameter in a classic pipeline.

  • Unlink all process parameters:

    1. Navigate to Tasks > Pipeline > Parameters in your pipeline definition.

    2. Select Unlink all.

      A screenshot showing how to unlink all parameters in a classic pipeline.

  • Unlink a single parameter:

    1. In your pipeline definition, select the task you want to unlink.

    2. Select Link settings from the right panel, and then select Unlink.

      A screenshot showing how to unlink a single parameter in a classic pipeline.