azdev-release-orchestrator
azdev-release-orchestrator copied to clipboard
Stage names containing spaces and commas - Suggestions?
Hi! Truly a gem of a task for people who need to orchestrate a lot of pipelines!
Any suggestion how to handle stage names with commas and spaces in the name :see_no_evil: ? Is this supported? E.g.: ''Build, Test, Dockerize & Pack"
I add a "reproducible" example below.
Yaml task definition:
steps:
- ${{ each value in parameters.Pipelines }}:
- task: releaseorchestrator@3
displayName: Orchestrate services deployment
inputs:
projectName: "Cloud Team"
definitionName: ${{ value }}
strategy: ${{ parameters.Strategy }}
stages: ''Build, Test, Dockerize & Pack"
branchName: ${{ parameters.Branch }}
Debug log from a run of the orchestrator:
2022-06-29T11:28:20.079Z release-orchestrator:BuildSelector:getStages [ 'Build, Test, Dockerize & Pack',
'Release to ***',
'Release to ***',
'Release to ***',
'Release to ***',
'Release ***' ]
##[debug]ignoreFailure=false
##[debug]task result: Failed
##[error]Definition <***> (***) does not contain <Build> stage
##[debug]Processed: ##vso[task.issue type=error;]Definition <***> (***) does not contain <Build> stage
2022-06-29T11:28:20.081Z release-orchestrator:TaskHelper:fail Task <Failed> result (ignore failure <false>)
##[debug]Processed: ##vso[task.complete result=Failed;]Definition <***> (307) does not contain <***> stage
Finishing: Orchestrate service deployment
Hi, I created a new ticket. Maybe you have the same issue. *** is a secret in pipeline. I'm not sure if this works. https://github.com/dmitryserbin/azdev-release-orchestrator/issues/80