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') {
|
||||
steps {
|
||||
script {
|
||||
def shStatusCode = sh(label: 'build-frontend', returnStatus: true, script: '''
|
||||
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) {
|
||||
error "${shOutput}"
|
||||
}
|
||||
}
|
||||
sh './scripts/ci/build-frontend'
|
||||
// script {
|
||||
// def shStatusCode = sh(label: 'build-frontend', returnStatus: true, script: '''
|
||||
// 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) {
|
||||
// error "${shOutput}"
|
||||
// }
|
||||
// }
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
Loading…
Reference in New Issue
Block a user