Skip to content

Commit

Permalink
winPB: Switch adoptopenjdk download to use APIv3 (#1167)
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart Addison <sxa@uk.ibm.com>
  • Loading branch information
sxa555 authored Feb 24, 2020
1 parent 72e300e commit 238e3c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

- name: Download Java{{ jdk_version }}
win_get_url:
url: https://api.adoptopenjdk.net/v2/binary/releases/openjdk{{ jdk_version }}?openjdk_impl={{ bootjdk }}&os=windows&arch=x64&release=latest&type=jdk&heap_size={{ heapsize }}
url: https://api.adoptopenjdk.net/v3/binary/latest/{{ jdk_version }}/ga/windows/x64/jdk/{{ bootjdk }}/normal/adoptopenjdk?project=jdk
dest: 'C:\temp\jdk-{{ jdk_version }}.zip'
when: (java_download.stat.exists == false) and (java_installed.stat.exists == false)
tags: Java_install
Expand Down

0 comments on commit 238e3c8

Please sign in to comment.