exe git pull and retrive git log
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user