Add filtered publishing

This commit is contained in:
Dan Hawkins 2019-03-19 11:26:40 +00:00
commit e4e83a02f7

View file

@ -107,7 +107,7 @@ def filteredpublish(itempathstopublish, customer) {
def dstpath = "${filteredreleaserepofolder}/${itempath}" def dstpath = "${filteredreleaserepofolder}/${itempath}"
def File dstpathfile = new File(dstpath) def File dstpathfile = new File(dstpath)
def dstpathparentdir = dstpathfile.getParentFile() def dstpathparentdir = dstpathfile.getParentFile()
echo "Copying recursively from ${srcpath} to ${dstpathparentdir.getName()}" echo "Copying recursively from ${srcpath} to ${dstpathparentdir.getAbsolutePath()}"
copydirectory(srcpathfile, dstpathparentdir) copydirectory(srcpathfile, dstpathparentdir)
} }
publish(customer, filteredreleaserepofolder) publish(customer, filteredreleaserepofolder)