escaped "$" symbol in script
This commit is contained in:
parent
b575ac7233
commit
df3e557e6b
1 changed files with 3 additions and 1 deletions
4
Jenkins/master-windows-pipeline/Jenkinsfile
vendored
4
Jenkins/master-windows-pipeline/Jenkinsfile
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue