Skip to content

Commit

Permalink
[ADD] also kill skipped builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Jul 27, 2016
1 parent bbc9810 commit 05a4d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runbot/runbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ def schedule(self, cr, uid, ids, context=None):
build._local_cleanup()

def skip(self, cr, uid, ids, context=None):
self.write(cr, uid, ids, {'state': 'done', 'result': 'skipped'}, context=context)
self.kill(cr, uid, ids, result='skipped', context=context)
to_unduplicate = self.search(cr, uid, [('id', 'in', ids), ('duplicate_id', '!=', False)])
if len(to_unduplicate):
self.force(cr, uid, to_unduplicate, context=context)
Expand Down

0 comments on commit 05a4d5c

Please sign in to comment.