taskotron: fix duplicate jobs prevention #2
In commit 77cf9ae061
I had the condition inverted, sigh.
This commit is contained in:
parent
77cf9ae061
commit
e22233b5db
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ def today(props):
|
|||
# (see https://pagure.io/taskotron/issue/273 )
|
||||
factory.addStep(steps.MasterShellCommand(
|
||||
command=util.Interpolate(
|
||||
'test -d {{ public_artifacts_dir }}/%(kw:today)s/%(prop:uuid)s/ || '
|
||||
'! test -d {{ public_artifacts_dir }}/%(kw:today)s/%(prop:uuid)s/ || '
|
||||
'( echo Multiple jobs with same UUID detected, aborting execution!; '
|
||||
' echo See https://pagure.io/taskotron/issue/273 ; '
|
||||
' exit 1 )',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue