I have a pipeline defined with five stages, that run in this order......
Build ==> Smoke Test Deploy ==> Smoke Test ==> Full Test Deploy ==> Full Test
When I try to use the API getStages, and process the stages from the returned XML, they are not in the correct order. This is what my code prints out:
Stage = Build Stage = Full Test Stage = Full Test Deploy Stage = Smoke Test Stage = Smoke Test Deploy
I am trying to determine in my code the name of the Final Stage of the pipeline. Is there a way to determine the final stage, or to get the list of stages in the correct order?
Thanks. - Troy