split ci module to more than modules

This commit is contained in:
aaronchen2k
2020-01-20 12:27:42 +08:00
parent c2ad881b21
commit 0683dba9df
61 changed files with 2032 additions and 1868 deletions
+3
View File
@@ -21,6 +21,9 @@ $i = 1;
$config->git->repos[$i]['path'] = '/Users/aaron/devops/project/devops_test';
$config->git->repos[$i]['encoding'] = 'utf-8';
$config->ci->commitCommandRegx = '/\s*([a-z]+)\s+((?:build)|(?:story)|(?:task)|(?:bug))\s+#((?:\d|,)+)\s*/i';
$config->ci->tagCommandRegx = '/build[\-_]#((?:\d|,)+)/i';
/*
$i ++;
$config->git->repos[$i]['path'] = '';
+1 -1
View File
@@ -226,7 +226,7 @@ class gitModel extends model
public function setRepos()
{
$ci = $this->loadModel('ci');
$repoObjs = $ci->listRepoForSync("true");
$repoObjs = $ci->listForSync("true");
$gitRepos = [];
$paths = [];