* finish task #6954.

This commit is contained in:
wangyidong
2020-03-02 10:04:38 +08:00
parent 154efa0b59
commit 653c4d5cf6
10 changed files with 45 additions and 40 deletions
+3 -3
View File
@@ -137,10 +137,10 @@ class gitModel extends model
$this->printLog("\n\nrepo #" . $repo->id . ': ' . $repo->path . " finished");
}
// exe ci jobs in log
$cijobIdList = zget($objects, 'integrations', array());
// Create compile by integration.
$integrations = zget($objects, 'integrations', array());
$this->loadModel('compile');
foreach($cijobIdList as $id) $this->compile->execByIntegration($id);
foreach($integrations as $id) $this->compile->createByIntegration($id);
}
}