|
@@ -4,7 +4,7 @@ properties([
|
|
|
choiceType: 'PT_SINGLE_SELECT',
|
|
choiceType: 'PT_SINGLE_SELECT',
|
|
|
description: '选择要部署 API or UI',
|
|
description: '选择要部署 API or UI',
|
|
|
name: 'modulePrefix',
|
|
name: 'modulePrefix',
|
|
|
- randomName: 'choice-parameter-5631314439613978',
|
|
|
|
|
|
|
+ randomName: 'choice-parameter-56313144329613978',
|
|
|
script: [
|
|
script: [
|
|
|
$class: 'GroovyScript',
|
|
$class: 'GroovyScript',
|
|
|
fallbackScript: [
|
|
fallbackScript: [
|
|
@@ -25,7 +25,7 @@ properties([
|
|
|
choiceType: 'PT_SINGLE_SELECT',
|
|
choiceType: 'PT_SINGLE_SELECT',
|
|
|
description: '选择要部署的项目',
|
|
description: '选择要部署的项目',
|
|
|
name: 'module',
|
|
name: 'module',
|
|
|
- randomName: 'choice-parameter-5631314456178619',
|
|
|
|
|
|
|
+ randomName: 'choice-parameter-56313144562178619',
|
|
|
referencedParameters: 'modulePrefix',
|
|
referencedParameters: 'modulePrefix',
|
|
|
script: [
|
|
script: [
|
|
|
$class: 'GroovyScript',
|
|
$class: 'GroovyScript',
|
|
@@ -39,13 +39,13 @@ properties([
|
|
|
classpath: [],
|
|
classpath: [],
|
|
|
sandbox: true,
|
|
sandbox: true,
|
|
|
script:
|
|
script:
|
|
|
- ''' if (modulePrefix.equals("java")){
|
|
|
|
|
- return["storlead-api"]
|
|
|
|
|
- }
|
|
|
|
|
- else if(modulePrefix.equals("ui")){
|
|
|
|
|
- return["smarttrade-platform","sp-user-center"]
|
|
|
|
|
- }
|
|
|
|
|
- '''
|
|
|
|
|
|
|
+ ''' if (modulePrefix.equals("java")){
|
|
|
|
|
+ return["storlead-api"]
|
|
|
|
|
+ }
|
|
|
|
|
+ else if(modulePrefix.equals("ui")){
|
|
|
|
|
+ return["smarttrade-platform","su-user-center"]
|
|
|
|
|
+ }
|
|
|
|
|
+ '''
|
|
|
]
|
|
]
|
|
|
]
|
|
]
|
|
|
]
|
|
]
|