Seperate DS5 shell command from build command

This commit is contained in:
Dan Hawkins 2018-07-10 18:26:56 +01:00
commit fbb99a88e7

View file

@ -43,9 +43,8 @@ def doBuild(apps, exportfolder = "${WORKSPACE}/bin") {
retry(3) { // Eclipse occasionally raises exceptions (rather than the builds failing)
echo "Build command: ${BUILD_COMMAND} ${buildtype} \"${project}/${build_variant}\""
if (isUnix()) {
${DS5SHELL} \'${BUILD_COMMAND} -no-indexer -importAll "${SOURCE_PATH}"\'
sh """
${DS5SHELL} \'${BUILD_COMMAND} ${buildtype} \"${project}/${build_variant}\"\'
\"${DS5SHELL}\" \'${BUILD_COMMAND} ${buildtype} \"${project}/${build_variant}\"\'
"""
}
else {