Commit 632a51f9 authored by daidekun's avatar daidekun

fixbugs java bugs

parent 15ee785c
......@@ -56,6 +56,10 @@ def prepare_python(contextDir) {
}
def checkout(branchName, gitRepo) {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${gitRepo}.git"
}
def checkoutUI(branchName, gitRepo) {
if(gitRepo.contains("--")){
t1 = gitRepo.split("/")
groups = t1[0].split("--")
......
......@@ -38,7 +38,14 @@ def call(body) {
stage('Checkout') {
_utils.beautyEcho(2, 'Checkout')
switch (config.buildType) {
case "lua-ui":
_stage.checkoutUI(branchName, gitRepo)
break
default:
_stage.checkout(branchName, gitRepo)
break
}
}
stage('Prepare') {
......@@ -48,9 +55,9 @@ def call(body) {
case "java":
_stage.prepare_java(systemName, contextDir)
break
case "ui":
/* case "ui":
_stage.prepare_ui(systemName, contextDir)
break
break*/
case "nodejs":
_stage.prepare_nodejs(systemName, contextDir)
break
......@@ -72,9 +79,9 @@ def call(body) {
case "java":
_stage.build_java(namespace, originSystemName, contextDir)
break
case "ui":
/* case "ui":
_stage.build_ui(namespace, originSystemName, contextDir, gitRepo, branchName, workspace)
break
break*/
case "nodejs":
_stage.build_nodejs(namespace, originSystemName, contextDir, gitRepo, branchName, workspace)
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment