GIS-1621 - Use script prompting to obtain publishing info from user
This commit is contained in:
parent
804c895fc6
commit
466d9ce33b
1 changed files with 1 additions and 2 deletions
|
|
@ -11,11 +11,10 @@ class PublishableItemsSelection {
|
||||||
def outputSelectionfromPreselect(menuitems, preselectedext) {
|
def outputSelectionfromPreselect(menuitems, preselectedext) {
|
||||||
script.echo ("preselectext: ${preselectedext}")
|
script.echo ("preselectext: ${preselectedext}")
|
||||||
def menuitemstemp = preselectedext.split(',')
|
def menuitemstemp = preselectedext.split(',')
|
||||||
menuitemstemp = menuitemstemp*.trim()
|
|
||||||
script.echo ("Menuitemstemp: ${menuitemstemp}")
|
script.echo ("Menuitemstemp: ${menuitemstemp}")
|
||||||
|
|
||||||
for (menuitem in menuitemstemp) {
|
for (menuitem in menuitemstemp) {
|
||||||
menuitems.add(menuitem)
|
menuitems.add(menuitem.trim())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue