File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 88phases :
99 install :
1010 commands :
11- - # force install java21 while we work throuh path issues
12- - |
13- $javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
14- ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
15- }
16- $JAVA_HOME = "C:\Program Files\Amazon Corretto\$javaName"
11+ # force install java21 while we work through path issues
12+ - |
13+ $javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
14+ ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
15+ }
16+ $JAVA_HOME = "C:\Program Files\Amazon Corretto\$javaName"
1717 - |
1818 if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
1919 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
Original file line number Diff line number Diff line change 88phases :
99 install :
1010 commands :
11- # force install java21 while we work throuh path issues
11+ # force install java21 while we work through path issues
1212 - |
1313 $javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
1414 ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
Original file line number Diff line number Diff line change 88phases :
99 install :
1010 commands :
11- # force install java21 while we work throuh path issues
11+ # force install java21 while we work through path issues
1212 - |
1313 $javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
1414 ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
You can’t perform that action at this time.
0 commit comments