Update Jenkinsfile
This commit is contained in:
parent
f7dcecba8b
commit
6a91f34b91
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -60,6 +60,7 @@ pipeline {
|
||||
git clone https://${GIT_USERNAME}:${GIT_PASSWORD}@${BACKEND_TEST_REPO} ${BACKEND_TEST_ENV}/${BACKEND_TEST_DIR}
|
||||
cd ${BACKEND_TEST_ENV}/${BACKEND_TEST_DIR}
|
||||
chmod +x run_tests.sh
|
||||
source ${BACKEND_TEST_ENV}/venv/bin/activate
|
||||
./run_tests.sh > backend_pytest_output.log 2>&1 || (
|
||||
echo "Backend tests failed. Rolling back..." && \
|
||||
cd ${REMOTE_WORKSPACE}/spurrin-dev-ui && \
|
||||
@ -74,6 +75,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Copy Test Log from Remote') {
|
||||
when {
|
||||
expression { currentBuild.result == null || currentBuild.result == 'FAILURE' }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user