diff --git a/pipelines/types/common.go b/pipelines/types/common.go index 5c3d6a9..89165b1 100644 --- a/pipelines/types/common.go +++ b/pipelines/types/common.go @@ -682,6 +682,7 @@ type PublishGenevaAutomationStep struct { KustoClientSecretName Value `json:"kustoClientSecretName,omitempty"` GenevaAutomationSecretName Value `json:"genevaAutomationSecretName,omitempty"` IcmServiceId Value `json:"icmServiceId,omitempty"` + IcmTeamId *Value `json:"icmTeamId,omitempty"` WorkflowPath string `json:"workflowPath,omitempty"` GenevaAutomationArtifact AdoArtifactDownloadPipelineReference `json:"genevaAutomationArtifact,omitempty"` @@ -698,6 +699,9 @@ func (s *PublishGenevaAutomationStep) RequiredInputs() []StepDependency { deps = append(deps, val.Input.StepDependency) } } + if s.IcmTeamId != nil && s.IcmTeamId.Input != nil { + deps = append(deps, s.IcmTeamId.Input.StepDependency) + } slices.SortFunc(deps, SortDependencies) deps = slices.Compact(deps) diff --git a/pipelines/types/pipeline.schema.v1.json b/pipelines/types/pipeline.schema.v1.json index 5d58d70..1e1612c 100644 --- a/pipelines/types/pipeline.schema.v1.json +++ b/pipelines/types/pipeline.schema.v1.json @@ -665,6 +665,9 @@ "icmServiceId": { "$ref": "#/definitions/value" }, + "icmTeamId": { + "$ref": "#/definitions/value" + }, "workflowPath": { "type": "string" },