Seperate DS5 shell command from build command

This commit is contained in:
Dan Hawkins 2018-07-10 19:24:34 +01:00
commit 8141c493b1

View file

@ -41,10 +41,10 @@ def doBuild(apps, exportfolder = "${WORKSPACE}/bin") {
}
for (build_variant in variants) {
retry(3) { // Eclipse occasionally raises exceptions (rather than the builds failing)
echo "Build command: \"${DS5SHELL}\" \'${BUILD_COMMAND} ${buildtype} \"${project}/${build_variant}\"\'"
echo "Build command: ${DS5SHELL} \'${BUILD_COMMAND} ${buildtype} \"${project}/${build_variant}\"\'"
if (isUnix()) {
sh """
\"${DS5SHELL}\" \'${BUILD_COMMAND} ${buildtype} \"${project}/${build_variant}\"\'
${DS5SHELL} \'${BUILD_COMMAND} ${buildtype} \"${project}/${build_variant}\"\'
"""
}
else {