diff --git a/Jenkins/Phabricator-windows-pipeline/Jenkinsfile b/Jenkins/Phabricator-windows-pipeline/Jenkinsfile index 05552e3..527ad38 100644 --- a/Jenkins/Phabricator-windows-pipeline/Jenkinsfile +++ b/Jenkins/Phabricator-windows-pipeline/Jenkinsfile @@ -93,15 +93,17 @@ pipeline { // gather all result files in a folder, then upload everything to // Google Cloud Storage powershell """ - # get the console log + Write-Host "Getting the console log..." Invoke-WebRequest -OutFile console-log.txt -uri "http://jenkins.local:8080/job/${JOB_BASE_NAME}/${BUILD_NUMBER}/consoleText" -ErrorAction "Continue" - - Copy-Item "${LLVM_DIR}\\build\\CMakeCache.txt" - Copy-Item "${LLVM_DIR}\\build\\test-results.xml" - # upload files + Write-Host "Copying build artefacts..." + Copy-Item "${LLVM_DIR}\\build\\CMakeCache.txt" -ErrorAction=Continue + Copy-Item "${LLVM_DIR}\\build\\test-results.xml" -ErrorAction=Continue + + Write-Host "Uploading results to GCS..." \$ErrorActionPreference = 'SilentlyContinue' gsutil cp -Z *.* gs://llvm-premerge-checks/results/${MY_BUILD_ID}/ + Write-Host "Done." """ } // doesn't find junit results, not sure why...