drone-downstream icon indicating copy to clipboard operation
drone-downstream copied to clipboard

Adding an option to poll the status of the downstream build

Open nani3105 opened this issue 7 years ago • 4 comments

I am looking to fail the current build if the downstream build fails. Would be good to provide an option like 'watch' which would poll the status of the downstream build.

nani3105 avatar Apr 24 '19 15:04 nani3105

What about the already existing flag? wait

tboerger avatar Apr 25 '19 05:04 tboerger

According to my understanding the flag "wait" will wait for any pending, running downstream build to pass/fail. after which it will kick a new build. But it will not monitor the current build status which was trigger by the plugin

nani3105 avatar Apr 26 '19 15:04 nani3105

+1 for this feature; as far as i can tell, wait doesn't accomplish this.

For our implementation, the value in the downstream build is to run integration tests and know if they pass; currently, have to go dig around in Drone's UI to find the correct build ID to know if it passed or not.

zacksinclair avatar Jun 14 '19 22:06 zacksinclair

I agree that we should have the option to wait until the build completes. I am closing in favor of https://github.com/drone-plugins/drone-downstream/issues/68 which encapsulates this issue.

bradrydzewski avatar Mar 06 '20 02:03 bradrydzewski