Seperate DS5 shell command from build command
This commit is contained in:
parent
3931e9b6d9
commit
2517f7bdc0
1 changed files with 5 additions and 2 deletions
|
|
@ -43,11 +43,14 @@ 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()) {
|
||||
sh "${BUILD_COMMAND} ${buildtype} \"${project}/${build_variant}\""
|
||||
${DS5SHELL} \'${BUILD_COMMAND} -no-indexer -importAll "${SOURCE_PATH}"\'
|
||||
sh """
|
||||
${DS5SHELL} \'${BUILD_COMMAND} ${buildtype} \"${project}/${build_variant}\"\'
|
||||
"""
|
||||
}
|
||||
else {
|
||||
bat """
|
||||
"%BUILD_COMMAND%" ${buildtype} "${project}\\${build_variant}"
|
||||
"%DS5SHELL%" "%BUILD_COMMAND%" ${buildtype} "${project}\\${build_variant}"
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue