PushBuildInfo is a builtin action, you can’t modify it.
Push build info into an artifact manager, useful only if you have an artifact manager linked to your workflow.
No Parameter
No Requirement
Example of a pipeline using PushBuildInfo action:
version: v1.0
name: Pipeline1
stages:
- Stage1
jobs:
- job: Job1
stage: Stage1
steps:
- pushBuildInfo: '{{.cds.workflow}}'
Implementation for artifactory can be found on GitHub