Powershell proxy bug fix.
@@ -44,7 +44,7 @@ $EnvHomeTempFolder = "$HOME\tmp"
# heap size, you would set DETECT_JAVA_OPTS=-Xmx6G.
#$DetectJavaOpts = Get-EnvironmentVariable -Key "DETECT_JAVA_OPTS" -DefaultValue "";
-$Version = "0.6.1"
+$Version = "0.6.2"
$DetectReleaseBaseUrl = "https://test-repo.blackducksoftware.com/artifactory/bds-integrations-release/com/blackducksoftware/integration/hub-detect"
$DetectSnapshotBaseUrl = "https://test-repo.blackducksoftware.com/artifactory/bds-integrations-snapshot/com/blackducksoftware/integration/hub-detect"
@@ -124,7 +124,7 @@ function Get-ProxyInfo () {
$ProxySecurePassword = ConvertTo-SecureString $ProxyPassword -AsPlainText -Force
$ProxyCredentials = New-Object System.Management.Automation.PSCredential ($ProxyUsername, $ProxySecurePassword)
- $ProxyInfo.Credentials = $ProxyCredentials;
+ $ProxyInfoProperties.Credentials = $ProxyCredentials;
}
Write-Host "Succesfully setup proxy."
