Skip to content

Commit

Permalink
Don't create outDir subfolder for user build
Browse files Browse the repository at this point in the history
  • Loading branch information
drbruce-git committed Jun 13, 2019
1 parent ad78d7d commit f105f0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Build/zAppBuild/build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ def populateBuildProperties(String[] args) {
props.applicationBuildLabel = "build.${props.startTime}" as String
props.applicationCollectionName = ((props.applicationCurrentBranch) ? "${props.application}-${props.applicationCurrentBranch}" : "${props.application}") as String
props.applicationOutputsCollectionName = "${props.applicationCollectionName}-outputs" as String
props.buildOutDir = "${props.outDir}/${props.applicationBuildLabel}" as String

// do not create a subfolder for user builds
props.buildOutDir = ((props.userBuild) ? "${props.outDir}" : "${props.outDir}/${props.applicationBuildLabel}") as String

if (props.verbose) {
println("java.version="+System.getProperty("java.runtime.version"))
Expand Down

0 comments on commit f105f0b

Please sign in to comment.