This commit is contained in:
Jamie Curnow 2023-03-08 13:14:18 +10:00
parent 2d9e617e49
commit b17a26e634
No known key found for this signature in database
GPG key ID: FFBB624C43388E9E

6
Jenkinsfile vendored
View file

@ -65,16 +65,13 @@ pipeline {
script { script {
// Frontend and Backend // Frontend and Backend
def shStatusCode = sh(label: 'Checking and Building', returnStatus: true, script: ''' def shStatusCode = sh(label: 'Checking and Building', returnStatus: true, script: '''
# set +x
set -e set -e
./scripts/ci/frontend-build > ${WORKSPACE}/tmp-sh-build 2>&1 ./scripts/ci/frontend-build > ${WORKSPACE}/tmp-sh-build 2>&1
./scripts/ci/test-and-build > ${WORKSPACE}/tmp-sh-build 2>&1 ./scripts/ci/test-and-build > ${WORKSPACE}/tmp-sh-build 2>&1
''') ''')
shOutput = readFile "${env.WORKSPACE}/tmp-sh-build" shOutput = readFile "${env.WORKSPACE}/tmp-sh-build"
echo "-->${shOutput}<--"
echo "-->${shStatusCode}<--"
if (shStatusCode != 0) { if (shStatusCode != 0) {
error "Error: ${shOutput}" error "${shOutput}"
} }
} }
} }
@ -89,7 +86,6 @@ pipeline {
} }
stage('Integration Tests Sqlite') { stage('Integration Tests Sqlite') {
steps { steps {
error "exiting for debug"
// Bring up a stack // Bring up a stack
sh 'docker-compose up -d fullstack-sqlite' sh 'docker-compose up -d fullstack-sqlite'
sh './scripts/wait-healthy $(docker-compose ps -q fullstack-sqlite) 120' sh './scripts/wait-healthy $(docker-compose ps -q fullstack-sqlite) 120'