mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-23 05:18:12 -05:00
Fix escaping in groovy
This commit is contained in:
parent
12909de3c1
commit
6ab5224353
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -104,7 +104,7 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
def shStatusCode = sh(label: 'test-backend', returnStatus: true, script: '''
|
def shStatusCode = sh(label: 'test-backend', returnStatus: true, script: '''
|
||||||
set -e
|
set -e
|
||||||
./scripts/ci/test-backend | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" > ${WORKSPACE}/tmp-sh-build 2>&1
|
./scripts/ci/test-backend | sed -r "s/\\x1B\\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" > ${WORKSPACE}/tmp-sh-build 2>&1
|
||||||
''')
|
''')
|
||||||
shOutput = readFile "${env.WORKSPACE}/tmp-sh-build"
|
shOutput = readFile "${env.WORKSPACE}/tmp-sh-build"
|
||||||
if (shStatusCode != 0) {
|
if (shStatusCode != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user