fixed build issue when a build agent contains space in some configuration parameters.

This commit is contained in:
Vladimir.Orlov
2015-05-19 11:24:40 +03:00
parent 76f09efd6d
commit ef494a0d30
+3 -3
View File
@@ -25,8 +25,8 @@ def nsis_installer(pathsToInclude, stringsFile, pathsFile, outNamePrefix, includ
ant.mkdir(dir: "$box/jre")
requireProperty("jdk_bundled_win", "1.7")
def jdk_bundled_version = p("jdk_bundled_win") == "1.8" ? "${home}/build/jdk/jdk8_redist.zip" : "${home}/build/jdk/jdk_redist.zip"
getBundledJDK(new File("${home}/build/jdk/win"), "jdk"+ p("jdk_bundled_win"), "x32.zip", jdk_bundled_version)
ant.unzip(dest: "$box/jre", src: "${jdk_bundled_version}")
getBundledJDK(new File("${home}/build/jdk/win"), "jdk" + p("jdk_bundled_win"), "x32.zip", "jdk_win_redist")
ant.unzip(dest: "$box/jre", src: p("jdk_win_redist"))
ant.copy(todir: "$box/bin") {
fileset(dir: "$box/jre/jre/bin") {
@@ -95,7 +95,7 @@ def nsis_installer(pathsToInclude, stringsFile, pathsFile, outNamePrefix, includ
" /DIPR=\"${associateIpr}\"" +
" /DOUT_FILE=\"${outFileName}\"" +
" /DOUT_DIR=\"$paths.artifacts\"" +
" $box/nsiconf/idea.nsi")
" \"$box/nsiconf/idea.nsi\"")
projectBuilder.stage("Signing binaries")
executeExternalAnt(["dirName": "${paths.artifacts}", "fileName": "${outFileName}.exe"], "$home/build/signBuild.xml")