mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Debug ci
This commit is contained in:
parent
00aaa024a6
commit
7745f8242b
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
@ -70,16 +70,17 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Frontend') {
|
stage('Frontend') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
sh './scripts/ci/build-frontend'
|
||||||
def shStatusCode = sh(label: 'build-frontend', returnStatus: true, script: '''
|
// script {
|
||||||
set -e
|
// def shStatusCode = sh(label: 'build-frontend', returnStatus: true, script: '''
|
||||||
./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
|
// 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
|
||||||
shOutput = readFile "${env.WORKSPACE}/tmp-sh-build"
|
// ''')
|
||||||
if (shStatusCode != 0) {
|
// shOutput = readFile "${env.WORKSPACE}/tmp-sh-build"
|
||||||
error "${shOutput}"
|
// if (shStatusCode != 0) {
|
||||||
}
|
// error "${shOutput}"
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
Loading…
Reference in New Issue
Block a user