BitbucketServerSource*BitbucketServerSource`json:"bitbucket_server_source,omitempty" description:"bitbucket server scm defile"`
ScriptPathstring`json:"script_path" mapstructure:"script_path" description:"script path in scm"`
}
typeGitSourcestruct{
...
...
@@ -94,16 +95,29 @@ type GitSource struct {
}
typeGithubSourcestruct{
ScmIdstring`json:"scm_id,omitempty" description:"uid of scm"`
Ownerstring`json:"owner,omitempty" mapstructure:"owner" description:"owner of github repo"`
Repostring`json:"repo,omitempty" mapstructure:"repo" description:"repo name of github repo"`
CredentialIdstring`json:"credential_id,omitempty" mapstructure:"credential_id" description:"credential id to access github source"`
ApiUristring`json:"api_uri,omitempty" mapstructure:"api_uri" description:"The api url can specify the location of the github apiserver.For private cloud configuration"`
RegexFilterstring`json:"regex_filter,omitempty" mapstructure:"regex_filter" description:"Regex used to match the name of the branch that needs to be run"`
ScmIdstring`json:"scm_id,omitempty" description:"uid of scm"`
Ownerstring`json:"owner,omitempty" mapstructure:"owner" description:"owner of github repo"`
Repostring`json:"repo,omitempty" mapstructure:"repo" description:"repo name of github repo"`
CredentialIdstring`json:"credential_id,omitempty" mapstructure:"credential_id" description:"credential id to access github source"`
ApiUristring`json:"api_uri,omitempty" mapstructure:"api_uri" description:"The api url can specify the location of the github apiserver.For private cloud configuration"`
RegexFilterstring`json:"regex_filter,omitempty" mapstructure:"regex_filter" description:"Regex used to match the name of the branch that needs to be run"`
}
typeBitbucketServerSourcestruct{
ScmIdstring`json:"scm_id,omitempty" description:"uid of scm"`
Ownerstring`json:"owner,omitempty" mapstructure:"owner" description:"owner of github repo"`
Repostring`json:"repo,omitempty" mapstructure:"repo" description:"repo name of github repo"`
CredentialIdstring`json:"credential_id,omitempty" mapstructure:"credential_id" description:"credential id to access github source"`
ApiUristring`json:"api_uri,omitempty" mapstructure:"api_uri" description:"The api url can specify the location of the github apiserver.For private cloud configuration"`
RegexFilterstring`json:"regex_filter,omitempty" mapstructure:"regex_filter" description:"Regex used to match the name of the branch that needs to be run"`
}
typeGitCloneOptionstruct{
...
...
@@ -125,7 +139,7 @@ type SingleSvnSource struct {
CredentialIdstring`json:"credential_id,omitempty" mapstructure:"credential_id" description:"credential id to access svn source"`