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 Mar 1, 2016
1 parent ff06c33 commit cce8165
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 @@ -1112,7 +1112,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 cce8165

Please sign in to comment.