File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
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"
1117 - |
1218 if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
1319 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
@@ -21,6 +27,8 @@ phases:
2127 # See https://github.com/NuGet/NuGet.Client/pull/4259
2228 $Env:NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY = "3,1000"
2329
30+ $Env:JAVA_HOME = $JAVA_HOME
31+
2432 if ($Env:CODEARTIFACT_DOMAIN_NAME -and $Env:CODEARTIFACT_REPO_NAME) {
2533 $Env:CODEARTIFACT_URL=aws codeartifact get-repository-endpoint --domain $Env:CODEARTIFACT_DOMAIN_NAME --repository $Env:CODEARTIFACT_REPO_NAME --format maven --query repositoryEndpoint --output text
2634 # $Env:CODEARTIFACT_NUGET_URL=aws codeartifact get-repository-endpoint --domain $Env:CODEARTIFACT_DOMAIN_NAME --repository $Env:CODEARTIFACT_REPO_NAME --format nuget --query repositoryEndpoint --output text
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ class AwsSdkClientTest {
122122 val selfSignedJks = AwsSdkClientTest ::class .java.getResource(" /selfSigned.jks" )
123123 return WireMockRule (
124124 wireMockConfig()
125+ .httpDisabled(true )
125126 .dynamicHttpsPort()
126127 .keystorePath(selfSignedJks.toString())
127128 .keystorePassword(" changeit" )
You can’t perform that action at this time.
0 commit comments