21 lines
906 B
PowerShell
21 lines
906 B
PowerShell
# MARS-828 Installation and Testing Script
|
|
# Run from: MARS_Packages\REL01_ADDITIONS\MARS-828\
|
|
|
|
Write-Host "`n========================================" -ForegroundColor Cyan
|
|
Write-Host "MARS-828: Installation & Testing Script" -ForegroundColor Cyan
|
|
Write-Host "========================================`n" -ForegroundColor Cyan
|
|
|
|
$ErrorActionPreference = "Continue"
|
|
$scriptDir = "c:\_git\_local_rep\working_dir_02\MARS_Packages\REL01_ADDITIONS\MARS-828"
|
|
|
|
# Test 1: Install MARS-828
|
|
Write-Host "Test 1: Installing MARS-828..." -ForegroundColor Yellow
|
|
$installCmd = @"
|
|
cd $scriptDir
|
|
echo "exit" | sql "ADMIN/Cloudpass#34@ggmichalski_high" "@auto_install.sql"
|
|
"@
|
|
Invoke-Expression $installCmd | Out-File -FilePath "$scriptDir\test_results.txt" -Encoding UTF8
|
|
|
|
Write-Host "`nInstallation log saved to: test_results.txt" -ForegroundColor Green
|
|
Write-Host "`nCheck log file for results..." -ForegroundColor Yellow
|