Seperate DS5 shell command from build command

This commit is contained in:
Dan Hawkins 2018-07-10 18:37:18 +01:00
commit 9836cd8690

View file

@ -41,7 +41,7 @@ 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: ${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}\"\'