fix init jenkins

Signed-off-by: soulseen <sunzhu@yunify.com>
This commit is contained in:
soulseen
2019-05-11 13:01:45 +08:00
parent 642d52a45f
commit ecfcad9ea8
3 changed files with 11 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ import (
"kubesphere.io/kubesphere/pkg/models/devops"
logging "kubesphere.io/kubesphere/pkg/models/log"
"kubesphere.io/kubesphere/pkg/signals"
"kubesphere.io/kubesphere/pkg/simple/client/admin_jenkins"
"kubesphere.io/kubesphere/pkg/simple/client/devops_mysql"
"log"
"net/http"
@@ -99,7 +100,8 @@ func Run(s *options.ServerRunOptions) error {
}
func initializeAdminJenkins() {
devops.PreCheckJenkins()
devops.JenkinsInit()
admin_jenkins.Client()
}
func initializeDevOpsDatabase() {