Make the default filter blank; Alter the order of build import
This commit is contained in:
parent
b1d34d8f87
commit
2907eb9dc5
1 changed files with 9 additions and 6 deletions
|
|
@ -249,13 +249,16 @@ def gitsparserestore(String targetDir) {
|
|||
def List convertSparseItemsString(String itemstopublish) {
|
||||
def List sparsepaths = []
|
||||
|
||||
def String[] items = itemstopublish.split(',')
|
||||
def String allpaths = ""
|
||||
for(String item : items) {
|
||||
sparsepaths.add(item)
|
||||
allpaths += "${item}\n"
|
||||
boolean nonempty = itemstopublish?.trim()
|
||||
if (nonempty) {
|
||||
def String[] items = itemstopublish..trim().split(',')
|
||||
def String allpaths = ""
|
||||
for(String item : items) {
|
||||
sparsepaths.add(item)
|
||||
allpaths += "${item}\n"
|
||||
}
|
||||
echo "Selected item to publish:\n${allpaths}"
|
||||
}
|
||||
echo "Selected item to publish:\n${allpaths}"
|
||||
return sparsepaths
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue