1
0
Fork 0

escaped "$" symbol in script

This commit is contained in:
Christian Kühnel 2019-12-18 12:46:03 +01:00
parent b575ac7233
commit df3e557e6b

View file

@ -75,7 +75,9 @@ pipeline {
// gather all result files in a folder, then upload everything to // gather all result files in a folder, then upload everything to
// Google Cloud Storage // Google Cloud Storage
powershell """ powershell """
$ErrorActionPreference = "Continue" # continue on errors
\$ErrorActionPreference = "Continue"
# get the console log # get the console log
Invoke-WebRequest -OutFile console-log.txt -uri http://jenkins.local:8080/job/${JOB_BASE_NAME}/${BUILD_NUMBER}/consoleText" -ErrorAction Invoke-WebRequest -OutFile console-log.txt -uri http://jenkins.local:8080/job/${JOB_BASE_NAME}/${BUILD_NUMBER}/consoleText" -ErrorAction