Test/Deploy/Deploy.ps1


Import-Module CmxModule -Force

$buildFolder = GetLatestSucceededBuild
Write-Output "buildFolder = $buildFolder"
$copyTarget = "D:\WS\Step7_Safety_T\Binaries\Release\x64_download"
Write-Output "Downloading . . . "
$result = DownloadBuild -BuildFolder "$buildFolder" -CopyTarget "$copyTarget"
Write-Output "Succeeded = $($result.Succeeded)"
$timeSpanString = GetReadableTimeSpan($result.TimeSpan)
Write-Output "Duration: $timeSpanString"