Make canceled jobs not retryable

See which tests break
This commit is contained in:
mfluharty 2019-04-18 17:47:03 -06:00
parent e9bf3672df
commit 2c2bd00a6c
No known key found for this signature in database
GPG key ID: 6FDA03A308D239E8
2 changed files with 6 additions and 1 deletions

View file

@ -353,7 +353,7 @@ module Ci
end end
def retryable? def retryable?
!archived? && (success? || failed? || canceled?) !archived? && (success? || failed?)
end end
def retries_count def retries_count

View file

@ -0,0 +1,5 @@
---
title: Make canceled jobs not retryable
merge_request: 27503
author:
type: changed