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

This commit is contained in:
Dan Hawkins 2018-06-12 17:25:12 +01:00
commit 585ddabcf5

View file

@ -14,9 +14,11 @@ def doExport(exportfolder, exportpathlist, build_variant = "") {
}
}
dir (env.destFolder) {
echo 'Copy \"${srcFileExpanded}\" to \"${destFolder}\"'
echo "Copy \"${srcFileExpanded}\" to \"${destFolder}\""
if (isUnix()) {
bash 'cp -v \"${srcFileExpanded}\" \"${destFolder}\"'
echo "cp -v \"${srcFileExpanded}\" \"${destFolder}\""
sh "cp -v \"${srcFileExpanded}\" \"${destFolder}\""
}
else {
bat 'copy \"%srcFileExpanded%\" \"%destFolder%\"'