Re: [go-cd] [Feature request] API general pipeline status

2024-06-07 Thread Chad Wilson
Yeah, as Ashwanth mentions, this doesn't currently exist, probably because it's somewhat indeterministic. GoCD does not rigidly define what "success" means for a pipeline - that is up to the user in how they compose from stages. e.g - subsequent stages can sometimes allow manual triggering even if

Re: [go-cd] [Feature request] API general pipeline status

2024-06-07 Thread 'Ashwanth Kumar' via go-cd
It is not possible because the definition of pipeline level status can vary from one person to another. For instance, the 2nd stage could be validation that I don't care much as long as the 3rd stage is green (after manually approving it) and things like that. Ideally you only want to check the st

[go-cd] [Feature request] API general pipeline status

2024-06-07 Thread 'Hans Dampf' via go-cd
Hi, it would be great if the api request on /go/api/pipelines// would have a general pipeline status. The stage have one, but it would be alot easier to work with if the last status is access able on the toplevel. Currently, you have to parse all stages to get the pipeline status. Currently