+ [bug#60245,done,0.5h] set isStage.

This commit is contained in:
liumengyi
2025-03-06 10:38:34 +08:00
committed by 田淑杰
parent cbd403429c
commit ac119994ca
+1
View File
@@ -1101,6 +1101,7 @@ class execution extends control
$this->executionZen->setCopyProjects($project);
$isStage = isset($output['type']) && $output['type'] == 'stage';
if(!$isStage && !empty($this->view->execution) && $this->view->execution->type == 'stage') $isStage = true;
if(!empty($project) && in_array($project->model, $this->config->project->waterfallList))
{
if($project->model == 'waterfall') $isStage = true;