$ErrorActionPreference = 'Stop'

$paramsFile = Join-Path $env:WORKSPACE "mesos-build-parameters.txt"
$consoleLogFile = Join-Path $env:WORKSPACE "mesos-build-${env:BRANCH}-${env:BUILD_NUMBER}.log"
$windowsBuildScript = (Resolve-Path "$PSScriptRoot\..\start-windows-build.ps1").Path
& "$windowsBuildScript" -Branch $env:BRANCH -CommitID $env:COMMIT_ID -ReviewID $env:REVIEW_ID -ParametersFile $paramsFile | Tee-Object -FilePath $consoleLogFile
$exitCode = $LASTEXITCODE
Remove-Item -Force -ErrorAction SilentlyContinue -Path $consoleLogFile
exit $exitCode

$ErrorActionPreference = 'Stop'

$paramsFile = Join-Path $env:WORKSPACE "mesos-build-parameters.txt"
$consoleLogFile = Join-Path $env:WORKSPACE "mesos-build-${env:BRANCH}-${env:BUILD_NUMBER}.log"
$windowsBuildScript = (Resolve-Path "$PSScriptRoot\..\start-windows-build.ps1").Path
& "$windowsBuildScript" -Branch $env:BRANCH -CommitID $env:COMMIT_ID -ReviewID $env:REVIEW_ID -ParametersFile $paramsFile -EnableSSL | Tee-Object -FilePath $consoleLogFile
$exitCode = $LASTEXITCODE
Remove-Item -Force -ErrorAction SilentlyContinue -Path $consoleLogFile
exit $exitCode

Add EnableSSL to the main Reviewbot Jenkins job script
Add EnableSSL to the main Reviewbot Jenkins job script
