mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed build issue when a build agent contains space in some configuration parameters.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user