GIS-1621 - Use script prompting to obtain publishing info from user
This commit is contained in:
parent
44d4744d68
commit
5998729f0e
1 changed files with 9 additions and 4 deletions
|
|
@ -23,11 +23,16 @@ class PublishableItemsSelection {
|
|||
outputDescription(menuitemdescriptions, releaseinfo)
|
||||
outputSelection(menuitemsfull, releaseinfo)
|
||||
}
|
||||
|
||||
script.echo("menuitemsfull is: ${menuitemsfull}")
|
||||
script.echo("preselectedmenuitems is: ${preselectedmenuitems}")
|
||||
script.echo("menuitemdescriptions is: ${menuitemdescriptions}")
|
||||
def seperator = ","
|
||||
|
||||
multiselect = new ExtendedChoiceParameterDefinition(
|
||||
"name", // String name
|
||||
"PT_MULTI_SELECT", // String type
|
||||
menuitemsfull, // String value
|
||||
menuitemsfull.join(seperator), // String value
|
||||
"project name", // String projectName
|
||||
"", // String propertyFile
|
||||
"", // String groovyScript
|
||||
|
|
@ -35,14 +40,14 @@ class PublishableItemsSelection {
|
|||
"", // String bindings
|
||||
"", // String groovyClasspath
|
||||
"", // String propertyKey
|
||||
preselectedmenuitems, // String defaultValue
|
||||
preselectedmenuitems.join(seperator),// String defaultValue
|
||||
"", // String defaultPropertyFile
|
||||
"", // String defaultGroovyScript
|
||||
"", // String defaultGroovyScriptFile
|
||||
"", // String defaultBindings
|
||||
"", // String defaultGroovyClasspath
|
||||
"", // String defaultPropertyKey
|
||||
menuitemdescriptions, // String descriptionPropertyValue
|
||||
menuitemdescriptions.join(seperator),// String descriptionPropertyValue
|
||||
"", // String descriptionPropertyFile
|
||||
"", // String descriptionGroovyScript
|
||||
"", // String descriptionGroovyScriptFile
|
||||
|
|
@ -55,7 +60,7 @@ class PublishableItemsSelection {
|
|||
false, // boolean quoteValue
|
||||
3, // int visibleItemCount
|
||||
"multiselect", // String description
|
||||
",") // String multiSelectDelimiter
|
||||
seperator) // String multiSelectDelimiter
|
||||
}
|
||||
|
||||
def outputSelectionfromPreselect(menuitems, preselectedext) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue