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:
- Open the navigation menu and click Developer Services. Under DevOps, click Projects.
- Select a project and a pipeline (build or deployment) associated with that project.
- Click the Parameters tab.
- Enter a name for the parameter.
Parameter names are case-sensitive, and can consist of letters, numbers, or underscores. Example:
appVersion
. - (Optional) Enter a default value for the parameter. Example:
1.2
- Enter a description of the parameter. Example:
This is the version of application hello_world
. - 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.