Configuring Parameters

Parameters are names of placeholders that exist in DevOps resources.

To configure a pipeline parameter, you must have a build pipeline or a deployment pipeline.

A pipeline parameter name can be used in a placeholder that exists in DevOps resources and certain API fields. Placeholders are special strings with a unique format, ${parameterName}. When a pipeline is run, the placeholder is substituted with the value of the corresponding pipeline parameter.

Here's how you can define pipeline parameters using the Oracle Cloud Console:

  1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
  2. Select a project and a pipeline (build or deployment) associated with that project.
  3. Click the Parameters tab.
  4. Enter a name for the parameter.

    Parameter names are case-sensitive, and can consist of letters, numbers, or underscores. Example: appVersion.

  5. (Optional) Enter a default value for the parameter. Example: 1.2
  6. Enter a description of the parameter. Example: This is the version of application hello_world.
  7. To save the parameter, click the + icon.

You can edit the parameter details. Before starting the pipeline run, use the default value of the parameter or override with an argument value. The parameters can also be deleted.