Defines how to access a Git source.
JSON representation |
---|
{
"repo"
:
string
,
"dir"
:
string
,
"commitSha"
:
string
,
"developerConnectConfig"
:
{
object (
|
Fields | |
---|---|
repo
|
Required. Location of the git repo to build. |
dir
|
Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's |
commitSha
|
Output only. The commit SHA of the git repo deduced from given refTag. |
developerConnectConfig
|
Optional. This config defines the location of a source through Developer Connect. Used to access private git repos. |
refTag
|
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 | |
---|---|
gitRepositoryLink
|
Required. The Developer Connect Git repository link, formatted as |