[wp-trac] [WordPress Trac] #38500: Automatically cancel pending Travis builds with each commit
WordPress Trac
noreply at wordpress.org
Tue Oct 25 23:12:46 UTC 2016
#38500: Automatically cancel pending Travis builds with each commit
------------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
This might be a meta ticket or it might be a @jorbin ticket.
When many commits land in core within a short (or not so short) period of
time, a backlog of [https://travis-
ci.org/aaronjorbin/develop.wordpress/builds pending builds] can build up
on Travis, which means committers have to wait longer and longer to see
the result of their commit. Sometimes interim builds are manually
cancelled by users that have been given access by @jorbin.
Ideally, any ''pending'' builds (builds that have yet to start) would be
automatically cancelled when each new build gets triggered by a commit.
That way, when a build completes, all interim builds will be skipped and
the most recent build will begin.
This works well for the WordPress project because we only have a single
branch and don't need to worry about builds for other branches.
Travis has [https://docs.travis-ci.com/api an API] that could be used to
cancel pending builds when each new build arrives.
Thoughts?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38500>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list