Skip to content

Commit

Permalink
fix path to jpackage jdk on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoborges committed Nov 26, 2019
1 parent d385712 commit 43426d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
pool:
vmImage: ubuntu-16.04
jpkgjdk: jdk14jpackagelinux
jpkgdir: jdk-14'
jpkgdir: jdk-14

# Mac OS job
- template: build-job.yml
Expand Down
4 changes: 1 addition & 3 deletions build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ parameters:
jobs:
- job: ${{ parameters.name }}
pool: ${{ parameters.pool }}
variables:
jpkgdir: ${{ parameters.jpkgdir }}
steps:
- task: DownloadPackage@1
inputs:
Expand All @@ -33,7 +31,7 @@ jobs:
jdkArchitectureOption: 'x64'
publishJUnitResults: false
tasks: dist jpackage
gradleOptions: -Dbadass.jlink.jpackage.home=$(System.DefaultWorkingDirectory)/$(jpkgdir)
gradleOptions: -Dbadass.jlink.jpackage.home=$(System.DefaultWorkingDirectory)/${{ parameters.jpkgdir }}
- task: PublishBuildArtifacts@1
inputs:
pathToPublish: $(System.DefaultWorkingDirectory)/build/distributions/
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jlink {

jpackage {
// can be set with BADASS_JLINK_JPACKAGE_HOME
jpackageHome = "/Users/bruno/fxderek/jdk-14.jdk/Contents/Home"
// jpackageHome = "/Users/bruno/fxderek/jdk-14.jdk/Contents/Home"
outputDir = "installer"
imageName = 'fx2048'
skipInstaller = false
Expand Down

0 comments on commit 43426d6

Please sign in to comment.