From 7745f8242bc8f6c91aa90c55bb4dace2a7de2726 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Tue, 11 Apr 2023 21:36:13 +1000 Subject: [PATCH] Debug ci --- Jenkinsfile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b528e7d3..901e3c0d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 {