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 8
8
phases :
9
9
install :
10
10
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
17
- |
12
18
if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
13
19
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
@@ -21,6 +27,8 @@ phases:
21
27
# See https://github.com/NuGet/NuGet.Client/pull/4259
22
28
$Env:NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY = "3,1000"
23
29
30
+ $Env:JAVA_HOME = $JAVA_HOME
31
+
24
32
if ($Env:CODEARTIFACT_DOMAIN_NAME -and $Env:CODEARTIFACT_REPO_NAME) {
25
33
$Env:CODEARTIFACT_URL=aws codeartifact get-repository-endpoint --domain $Env:CODEARTIFACT_DOMAIN_NAME --repository $Env:CODEARTIFACT_REPO_NAME --format maven --query repositoryEndpoint --output text
26
34
# $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 {
122
122
val selfSignedJks = AwsSdkClientTest ::class .java.getResource(" /selfSigned.jks" )
123
123
return WireMockRule (
124
124
wireMockConfig()
125
+ .httpDisabled(true )
125
126
.dynamicHttpsPort()
126
127
.keystorePath(selfSignedJks.toString())
127
128
.keystorePassword(" changeit" )
You can’t perform that action at this time.
0 commit comments