Skip to content

build.v1.genericWebHookCause

"GenericWebHookCause holds information about a generic WebHook that triggered a build."

Index

Fields

fn withSecret

withSecret(secret)

"secret is the obfuscated webhook secret that triggered a build."

obj revision

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

fn revision.withType

withType(type)

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

obj revision.git

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

fn revision.git.withCommit

withCommit(commit)

"commit is the commit hash identifying a specific commit"

fn revision.git.withMessage

withMessage(message)

"message is the description of a specific commit"

obj revision.git.author

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

fn revision.git.author.withEmail

withEmail(email)

"email of the source control user"

fn revision.git.author.withName

withName(name)

"name of the source control user"

obj revision.git.committer

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

fn revision.git.committer.withEmail

withEmail(email)

"email of the source control user"

fn revision.git.committer.withName

withName(name)

"name of the source control user"