Project: delete the .jobsets
jobset if project is no longer declarative
"No longer declarative" as defined by the "Edit project" page is an empty spec file.
This commit is contained in:
parent
886e6f85e4
commit
bd9c52dbd0
|
@ -169,6 +169,8 @@ sub updateProject {
|
||||||
, emailoverride => ""
|
, emailoverride => ""
|
||||||
, triggertime => time
|
, triggertime => time
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
$project->jobsets->search({ name => ".jobsets" })->delete;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue