mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 15:43:14 +01:00
Fix escaping in groovy
This commit is contained in:
1 file changed
+1
-1
Vendored
+1
-1
@@ -73,7 +73,7 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
def shStatusCode = sh(label: 'build-frontend', returnStatus: true, script: '''
|
def shStatusCode = sh(label: 'build-frontend', returnStatus: true, script: '''
|
||||||
set -e
|
set -e
|
||||||
./scripts/ci/build-frontend | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" > ${WORKSPACE}/tmp-sh-build 2>&1
|
./scripts/ci/build-frontend | 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) {
|
||||||
|
|||||||
Reference in new issue
Block a user