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
def retryable?
!archived? && (success? || failed? || canceled?)
!archived? && (success? || failed?)
end
def retries_count

View File

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