This commit is contained in:
caoyanyi
2022-01-14 06:52:35 +00:00
parent 0be41abb83
commit 20f291b9b2
5 changed files with 40 additions and 9 deletions
+3 -3
View File
@@ -121,7 +121,7 @@ class job extends control
$this->view->products = array(0 => '') + $this->loadModel('product')->getProductPairsByProject($this->projectID);
$this->view->jenkinsServerList = array('' => '') + $this->loadModel('jenkins')->getPairs();
$this->view->sonarqubeServerList = array('' => '') + $this->loadModel('sonarqube')->getPairs();
$this->view->sonarqubeServerList = array('') + $this->loadModel('sonarqube')->getPairs();
$this->display();
}
@@ -198,9 +198,9 @@ class job extends control
$this->view->repoTypes = $repoTypes;
$this->view->repoType = zget($repoTypes, $job->repo, 'Git');
$this->view->job = $job;
$this->view->products = array(0 => '') + $products;
$this->view->products = array('') + $products;
$this->view->jenkinsServerList = $this->loadModel('jenkins')->getPairs();
$this->view->sonarqubeServerList = array('' => '') + $this->loadModel('sonarqube')->getPairs();
$this->view->sonarqubeServerList = array('') + $this->loadModel('sonarqube')->getPairs();
$this->view->pipelines = $this->jenkins->getTasks($job->server);
$this->display();