Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Bump Build Number bump-build-number
Bump the build number
arguments
BumpBuildNumber:
title: Bump default build_number annotation
type: bump-build-number
BumpBuildNumber:
title: Bump custom annotation name
type: bump-build-number
arguments:
ANNOTATION_NAME: '${{CF_BRANCH}}_build_number'
BumpBuildNumber:
title: Bump default build_number annotation
type: bump-build-number
arguments:
RETRIEVE_CURRENT_VALUE_ONLY: true