Make canceled jobs not retryable
See which tests break
This commit is contained in:
parent
e9bf3672df
commit
2c2bd00a6c
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Make canceled jobs not retryable
|
||||||
|
merge_request: 27503
|
||||||
|
author:
|
||||||
|
type: changed
|
Loading…
Reference in a new issue