Amazon CodeCatalyst is no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see How to migrate from CodeCatalyst.
'BranchName' and 'CommitId' variables
The CodeCatalyst source produces
and sets BranchName and CommitId variables when your workflow
runs. These are known as predefined variables. See the following
table for information about these variables.
For information about referencing these variables in a workflow, see Using predefined variables.
| Key | Value |
|---|---|
|
CommitId |
The commit ID representing the state of the repository at the time the workflow run started. Example: See also: Example: Referencing the "CommitId" predefined variable |
|
BranchName |
The name of the branch against which the workflow run started. Examples: See also: Example: Referencing the "BranchName" predefined variable |