scmCommit
Gets the full SCM commit hash associated with a build, or the assistants which helped write this commit. Renders an empty string if there is none.
Applicable for:
- build
Configuration
- field - String - optional - Field of the commit to render:
id(the default) for the full hash of the commit, orassistantsfor the comma-separated names of the assistants (agent kinds) which helped write it, empty when there is none.
Example:
${build.scmCommit} or ${build.scmCommit?field=assistants}