Skip to content

build.v1.sourceRevision

"SourceRevision is the revision or commit information from the source for the build"

Index

Fields

fn withType

withType(type)

"type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'"

obj git

"GitSourceRevision is the commit information from a git source for a build"

fn git.withCommit

withCommit(commit)

"commit is the commit hash identifying a specific commit"

fn git.withMessage

withMessage(message)

"message is the description of a specific commit"

obj git.author

"SourceControlUser defines the identity of a user of source control"

fn git.author.withEmail

withEmail(email)

"email of the source control user"

fn git.author.withName

withName(name)

"name of the source control user"

obj git.committer

"SourceControlUser defines the identity of a user of source control"

fn git.committer.withEmail

withEmail(email)

"email of the source control user"

fn git.committer.withName

withName(name)

"name of the source control user"