and(succeeded(), eq(variables.isMain, true))
Is it possible to parameterize 'true'. as we have 100's of projects. we need to have one parameter which we can modify to reflect it in all the projects.
and(succeeded(), eq(variables.isMain, true))
Is it possible to parameterize 'true'. as we have 100's of projects. we need to have one parameter which we can modify to reflect it in all the projects.
As noted in the comment above more details would be helpful but I believe based on your scenario yes you can parametrize a stage. Would recommend doing an if condition before the stage is loaded based on your parameter. This would avoid the compilation issue of a parameter being read into the stage name.
- ${{ if eq(parameters.value,true) }} :
- stage: xyz