Git Source Args
data class GitSourceArgs(val dir: Output<String>? = null, val revision: Output<String>? = null, val url: Output<String>? = null) : ConvertibleToJava<GitSourceArgs>
Location of the source in any accessible Git repository.
Constructors
Link copied to clipboard
fun GitSourceArgs(dir: Output<String>? = null, revision: Output<String>? = null, url: Output<String>? = null)
Functions
Properties
Link copied to clipboard
The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses git fetch
to fetch the revision from the Git repository; therefore make sure that the string you provide for revision
is parsable by the command. For information on string values accepted by git fetch
, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on git fetch
, see https://git-scm.com/docs/git-fetch.