Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Run a Codefresh pipeline codefresh-run
Run a Codefresh pipeline by ID or name and attach the created build logs.
arguments
codefresh-run:
title: Run a codefresh pipeline
type: codefresh-run
arguments:
PIPELINE_ID: project-name/pip_name
TRIGGER_ID: trigger_id
BRANCH: '${{CF_BRANCH}}'
SHA: '${{CF_REVISION}}'
VARIABLE:
- key1=val1
- key2=val2