GitSource

Defines how to access a Git source.

JSON representation
{
  "repo": string,
  "dir": string,
  "commitSha": string,
  "developerConnectConfig": {
    object (DeveloperConnectConfig)
  },
  "refTag": string
}
Fields
repo

string

Required. Location of the git repo to build.

dir

string

Optional. Directory, relative to the source root, in which to run the build.

This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution.

commitSha

string

Output only. The commit SHA of the git repo deduced from given refTag.

developerConnectConfig

object (DeveloperConnectConfig)

Optional. This config defines the location of a source through Developer Connect. Used to access private git repos.

refTag

string

Required. The reference tag of the git repo.

DeveloperConnectConfig

This config defines the location of a source through Developer Connect.

JSON representation
{
  "gitRepositoryLink": string
}
Fields