BitbucketServerSource*BitbucketServerSource`json:"bitbucket_server_source,omitempty" description:"bitbucket server scm defile"`
ScriptPathstring`json:"script_path" mapstructure:"script_path" description:"script path in scm"`
MultiBranchJobTrigger*MultiBranchJobTrigger`json:"multibranch_job_triggeromitempty" mapstructure:"multibranch_job_trigger" description:"Pipeline tasks that need to be triggered when branch creation/deletion"`
}
typeGitSourcestruct{
...
...
@@ -107,6 +108,11 @@ type GithubSource struct {
RegexFilterstring`json:"regex_filter,omitempty" mapstructure:"regex_filter" description:"Regex used to match the name of the branch that needs to be run"`
}
typeMultiBranchJobTriggerstruct{
CreateActionJobsToTriggerstring`json:"create_action_job_to_trigger,omitempty" description:"pipeline name to trigger"`
DeleteActionJobsToTriggerstring`json:"delete_action_job_to_trigger,omitempty" description:"pipeline name to trigger"`
}
typeBitbucketServerSourcestruct{
ScmIdstring`json:"scm_id,omitempty" description:"uid of scm"`
Ownerstring`json:"owner,omitempty" mapstructure:"owner" description:"owner of github repo"`
...
...
@@ -837,6 +843,22 @@ func (s *SingleSvnSource) appendToEtree(source *etree.Element) *SingleSvnSource