Component: A pipeline job can be a call to a component that executes a specified job.
Example
Below is an example configuration showcasing the use of a component:
stages:
manul_stage:
name: Approval Stage
jobs:
manul_job:
name: Manual Validate Job
component: ManualValidate
with:
validatorType: users
validateMethod: and
validatorUsers:
- <user_id_1>
- <user_id_2>Detailed Explanation
stages.<stage_id>.jobs.<job_id>.component
Required. Specifies the component to use; refer to the component list provided by Flow for details.
stages.<stage_id>.jobs.<job_id>.with
When a pipeline job calls a component, the required execution parameters for the component are filled in via the with statement; refer to the component list provided by Flow for details.
For example:
jobs:
deploy_job:
name: VM Deploy Job
component: VMDeploy
with: # Specify component execution parameters.
artifact: $[stages.build_stage.build_job.upload_step.artifacts.default]
machineGroup: <your-machine-group-id>
......