taskotron: fix duplicate jobs prevention
In commit 111fc1805c
I forgot to expand a variable.
This commit is contained in:
parent
c8de1af1d1
commit
77cf9ae061
1 changed files with 4 additions and 2 deletions
|
@ -287,7 +287,8 @@ factory.addStep(steps.MasterShellCommand(
|
|||
'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 )'
|
||||
' exit 1 )',
|
||||
today=today,
|
||||
),
|
||||
descriptionDone='Check duplicate jobs',
|
||||
haltOnFailure=True,
|
||||
|
@ -300,7 +301,8 @@ factory.addStep(steps.MasterShellCommand(
|
|||
'mkdir -p -m 0755 {{ public_artifacts_dir }}/all && '
|
||||
'mv {{ public_artifacts_dir }}/%(prop:uuid)s/ {{ public_artifacts_dir }}/%(kw:today)s/ && '
|
||||
'ln -s {{ public_artifacts_dir }}/%(kw:today)s/%(prop:uuid)s {{ public_artifacts_dir }}/all/',
|
||||
today=today),
|
||||
today=today,
|
||||
),
|
||||
descriptionDone='Move artifacs',
|
||||
))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue