Add filtered publishing
This commit is contained in:
parent
9160ff3e7c
commit
d868c21c17
1 changed files with 3 additions and 1 deletions
|
|
@ -143,12 +143,14 @@ def convertitemstopublish(String itemstopublishstring) {
|
|||
def List paths = []
|
||||
|
||||
def String[] items = itemstopublishstring.split(',')
|
||||
def String allpaths
|
||||
for(String item : items) {
|
||||
def String[] pathitems = item.split('#')
|
||||
def String path = "${pathitems[0]}_${pathitems[1]}/${pathitems[2]}"
|
||||
paths.add(path)
|
||||
echo "Selected item to publish: ${path}"
|
||||
allpaths += path
|
||||
}
|
||||
echo "Selected item to publish: ${allpaths}"
|
||||
return paths
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue