View Source GoogleApi.CloudBuild.V1.Model.GitSource (google_api_cloud_build v0.50.1)
Location of the source in any accessible Git repository.
Attributes
-
dir
(type:String.t
, default:nil
) - Directory, relative to the source root, in which to run the build. This must be a relative path. If a step'sdir
is specified and is an absolute path, this value is ignored for that step's execution. -
revision
(type:String.t
, default:nil
) - The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build usesgit fetch
to fetch the revision from the Git repository; therefore make sure that the string you provide forrevision
is parsable by the command. For information on string values accepted bygit fetch
, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information ongit fetch
, see https://git-scm.com/docs/git-fetch. -
url
(type:String.t
, default:nil
) - Location of the Git repo to build. This will be used as agit remote
, see https://git-scm.com/docs/git-remote.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.