Add filtered publishing
This commit is contained in:
parent
b822e39e2a
commit
f9a078c895
1 changed files with 2 additions and 0 deletions
|
|
@ -105,7 +105,9 @@ def copydirectory(File dirFrom, File dirTo) {
|
|||
def filteredpublish(itempathstopublish, customer) {
|
||||
for (String itempath : itempathstopublish) {
|
||||
// Convert glob wildcard paths to real paths
|
||||
echo "Finding files at base folder: ${releaserepofolder} and glob filter: ${itempath}"
|
||||
def srcpaths = new FileNameFinder().getFileNames(releaserepofolder, itempath)
|
||||
echo "Paths found: ${srcpaths}"
|
||||
for (String srcpath: srcpaths) {
|
||||
def File srcpathfile = new File(srcpath)
|
||||
def dstpath = "${filteredreleaserepofolder}/${itempath}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue