GitLab CI Kotlin DSL • opensavvy.gitlab.ci • Variable • Commit
Commit¶
object Commit
Variables related to commits.
Types¶
Ref
¶
object Ref
Variables that relate to the reference this pipeline is building (e.g. a tag or a branch).
Properties¶
author
¶
Author of the commit, in the Name <email>
format.
branch
¶
The commit branch name.
description
¶
const val description: String
The commit message
without its first line, if it is shorter than 100 characters.
message
¶
The full commit message.
previousCommitSha
¶
const val previousCommitSha: String
Previous latest commit present on a branch. Is always 0000000000000000000000000000000000000000
in merge request pipelines.
sha
¶
The SHA of the current commit.
shortSha
¶
The first eight characters of the sha
.
tag
¶
The commit tag name.
timestamp
¶
The timestamp of the commit in the ISO 8601 format.
title
¶
The first line of the commit message
.