Fix cancelling non-current builds
[?]
Nov 2, 2015, 1:20 PM
J6T5EF5NDEAGL6FZYER7I62PRHUJIXWD5N5SRRMHRRSSRCQ4DF7ACDependencies
- [2]
KEBKLMYZclear-queue-non-current: Work around PostgreSQL query optimizer stupidity - [3]
67NFGL7Dadd links in admin page to clear queue (all non-running builds, and all non-running old (non-current) builds) - [4]
DETQRBBRclear_queue_non_current: Don't use isCurrent - [5]
UOINKJ2JAdd an action to cancel all builds in a jobset eval - [*]
ZWCTAZGLadded newsitems, added some admin options to clear various caches.
Change contents
- replacement in src/lib/Hydra/Controller/Admin.pm at line 38
{ id => { -in => \ "select id from Builds where id in ((select id from Builds where finished = 0 and busy = 0) except (select build from JobsetEvalMembers where eval in (select max(id) from JobsetEvals where hasNewBuilds = 1 group by project, jobset)))" }{ id => { -in => \ "select id from Builds where id in ((select id from Builds where finished = 0) except (select build from JobsetEvalMembers where eval in (select max(id) from JobsetEvals where hasNewBuilds = 1 group by project, jobset)))" }