exe git pull and retrive git log

This commit is contained in:
aaronchen2k
2020-01-10 18:16:26 +08:00
parent 46f9b8f33d
commit b6c7f38e1a
4 changed files with 60 additions and 5 deletions
+16
View File
@@ -698,6 +698,22 @@ class ciModel extends model
return $repos;
}
/**
* list repos for jenkins task edit
*
* @return mixed
*/
public function listRepoForSync($whr)
{
$repos = $this->dao->select('*')->from(TABLE_REPO)
->where('deleted')->eq('0')
->beginIF(!empty(whr))->andWhere($whr)->fi()
->orderBy(id)
->fetchAll();
$repos[''] = '';
return $repos;
}
/**
* list jenkins for ci task edit
*