forked from lix-project/hydra
Fix cloning jobsets
This commit is contained in:
parent
d9475273c5
commit
6c6ce7a781
|
@ -236,7 +236,7 @@ sub updateJobset {
|
||||||
|
|
||||||
$jobset->project->jobsetrenames->search({ from_ => $jobsetName })->delete;
|
$jobset->project->jobsetrenames->search({ from_ => $jobsetName })->delete;
|
||||||
$jobset->project->jobsetrenames->create({ from_ => $oldName, to_ => $jobsetName })
|
$jobset->project->jobsetrenames->create({ from_ => $oldName, to_ => $jobsetName })
|
||||||
if $jobsetName ne $oldName;
|
if $oldName ne ".tmp" && $jobsetName ne $oldName;
|
||||||
|
|
||||||
# Set the inputs of this jobset.
|
# Set the inputs of this jobset.
|
||||||
$jobset->jobsetinputs->delete;
|
$jobset->jobsetinputs->delete;
|
||||||
|
|
Loading…
Reference in a new issue