HMBXR5601-143 - Handle projects that aren't built but do provide binaries

This commit is contained in:
Dan Hawkins 2018-06-12 15:47:21 +01:00
commit 07a0a49d06

View file

@ -1,5 +1,5 @@
def doExport(exportpathlist, build_variant = "") {
def doExport(exportfolder, exportpathlist, build_variant = "") {
for (exportpath in exportpathlist) {
echo "Export path at: ${exportpath}"
script {
@ -42,11 +42,11 @@ def doBuild(apps, exportfolder = "${WORKSPACE}/bin") {
"""
}
}
doExport(exportpathlist, build_variant)
doExport(exportfolder, exportpathlist, build_variant)
}
}
else {
doExport(exportpathlist)
doExport(exportfolder, exportpathlist)
}
}
}