Add filtered publishing
This commit is contained in:
parent
79038df4d3
commit
9fad59a8a8
1 changed files with 2 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ def filteredpublish(itempathstopublish, customer) {
|
|||
def dstpath = "${filteredreleaserepofolder}/${itempath}"
|
||||
File dstpathfile = new File(dstpath)
|
||||
def dstpathdirname = dstpathfile.getParent()
|
||||
echo "Copying recursively from ${srcpath} to ${dstpath}"
|
||||
copydirectory(srcpath, dstpath)
|
||||
}
|
||||
publish(customer, filteredreleaserepofolder)
|
||||
|
|
@ -140,6 +141,7 @@ def convertitemstopublish(String itemstopublishstring) {
|
|||
def String[] pathitems = item.split('#')
|
||||
def String path = "${pathitems[0]}_${pathitems[1]}/${pathitems[2]}"
|
||||
paths.add(path)
|
||||
echo "Selected item to publish: ${path}"
|
||||
}
|
||||
return paths
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue