Homec4science

Abort previous build targets when a build is restarted

Authored by James Rhodes <jrhodes@redpointsoftware.com.au> on Aug 26 2014, 12:46.

Description

Abort previous build targets when a build is restarted

Summary: Ref T5936. This implements build implementations aborting early when the build has since been restarted. Build steps now periodically poll to see if the build's current generation does not match their generation, and they throw a HarbormasterBuildAbortedException if that is the case.

Test Plan: Tested locally on my machine with the sleep build step.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T5936

Differential Revision: https://secure.phabricator.com/D10322

Details

Committed
James Rhodes <jrhodes@redpointsoftware.com.au>Aug 26 2014, 12:46
Pushed
aubortJan 31 2017, 17:16
Parents
rPH53a678c56823: Improve documentation and tooling around autoclose
Branches
Unknown
Tags
Unknown

Event Timeline

James Rhodes <jrhodes@redpointsoftware.com.au> committed rPH51b34c054429: Abort previous build targets when a build is restarted (authored by James Rhodes <jrhodes@redpointsoftware.com.au>).Aug 26 2014, 12:46