* Finish jenkins test.

This commit is contained in:
wangyidong
2022-05-07 15:00:13 +08:00
parent da30abfa77
commit c82550c55c
12 changed files with 291 additions and 28 deletions
+6 -18
View File
@@ -10,17 +10,6 @@ class gitTest
$this->gitModel = $this->tester->loadModel('git');
}
/**
* Run
*
* @access public
* @return void
*/
public function run()
{
return $this->gitModel->run();
}
/**
* Update commit.
*
@@ -28,7 +17,7 @@ class gitTest
* @param array $commentGroup
* @param bool $printLog
* @access public
* @return string
* @return bool
*/
public function updateCommit($repo)
{
@@ -44,7 +33,7 @@ class gitTest
* Set the repos.
*
* @access public
* @return mixed
* @return object
*/
public function setRepos()
{
@@ -57,7 +46,7 @@ class gitTest
* Get repos.
*
* @access public
* @return array
* @return string
*/
public function getRepos()
{
@@ -70,7 +59,7 @@ class gitTest
*
* @param object $repo
* @access public
* @return bool
* @return object
*/
public function setRepo($repo)
{
@@ -91,7 +80,7 @@ class gitTest
*
* @param object $repo
* @access public
* @return mixed
* @return int
*/
public function getRepoTags($repo)
{
@@ -104,9 +93,8 @@ class gitTest
* Get repo logs.
*
* @param object $repo
* @param int $fromRevision
* @access public
* @return array
* @return int
*/
public function getRepoLogs($repo)
{