GIS-1621 - Use script prompting to obtain publishing info from user

This commit is contained in:
Dan Hawkins 2019-09-15 18:04:32 +01:00
commit b854e0431f
2 changed files with 7 additions and 1 deletions

View file

@ -85,7 +85,7 @@ pipeline {
steps {
script {
publishitems = load("${autobuilder.commonscripts()}/publish/publishitems.groovy")
def itemsobject = publishitems.getItems(this, releasemeta, ITEMSDEFAULTLIST, MAX_META_DEPTH)
def itemsobject = publishitems.getItems(releasemeta, ITEMSDEFAULTLIST, MAX_META_DEPTH)
def selecteditems = input(
message: 'Select which items from the release are to be published',
ok: 'Ok',

View file

@ -89,4 +89,10 @@ class PublishableItemsSelection {
}
}
PublishableItemsSelection createItemSelector(releasemeta, String preselectedext, String metalevelsstringext) {
PublishableItemsSelection pis = new PublishableItemsSelection(this, releasemeta, preselectedext, metalevelsstringext)
return pis
}
return this;