M
Size: a a a
M
D
A
DS
java.lang.UnsupportedOperationException: no known implementation of class hudson.model.ParameterDefinition is named activeChoiceReactiveParam
properties([
parameters([
[$class: 'activeChoiceReactiveParam',
name: 'POOL',
choiceType: 'SINGLE_SELECT',
description: 'Active pool for site',
referencedParameter: 'TARGET_ENVIRONMENT',
script: [
$class: 'GroovyScript',
fallbackScript: [classpath: [], sandbox: false, script: 'return[\'undefined\']'],
script: [
classpath: [],
sandbox: false,
script:
'''
if (TARGET_ENVIRONMENT.equals("qa")) {
return ["site1-blue", "site1-green"]
} else if (TARGET_ENVIRONMENT.equals("staging")) {
return ["site2-staging.com-blue", "site2-green"]
} else {
return ["undefined"]
}
'''
]
]
],
])
])
E
java.lang.UnsupportedOperationException: no known implementation of class hudson.model.ParameterDefinition is named activeChoiceReactiveParam
properties([
parameters([
[$class: 'activeChoiceReactiveParam',
name: 'POOL',
choiceType: 'SINGLE_SELECT',
description: 'Active pool for site',
referencedParameter: 'TARGET_ENVIRONMENT',
script: [
$class: 'GroovyScript',
fallbackScript: [classpath: [], sandbox: false, script: 'return[\'undefined\']'],
script: [
classpath: [],
sandbox: false,
script:
'''
if (TARGET_ENVIRONMENT.equals("qa")) {
return ["site1-blue", "site1-green"]
} else if (TARGET_ENVIRONMENT.equals("staging")) {
return ["site2-staging.com-blue", "site2-green"]
} else {
return ["undefined"]
}
'''
]
]
],
])
])
DS
java.lang.UnsupportedOperationException: no known implementation of class hudson.model.ParameterDefinition is named activeChoiceReactiveParam
DV
java.lang.UnsupportedOperationException: no known implementation of class hudson.model.ParameterDefinition is named activeChoiceReactiveParam
DS
M
D
AM
A
A
I
/
E
E
E
E
/