feat: refs #6695 when failure, clean
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
a5e9b2f455
commit
8720371827
|
@ -95,13 +95,13 @@ pipeline {
|
||||||
sh 'docker-compose -f docker-compose.e2e.yml build e2e'
|
sh 'docker-compose -f docker-compose.e2e.yml build e2e'
|
||||||
sh 'docker-compose -f docker-compose.e2e.yml up e2e'
|
sh 'docker-compose -f docker-compose.e2e.yml up e2e'
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
failure {
|
failure {
|
||||||
echo 'Removing containers...'
|
echo 'Removing containers...'
|
||||||
sh 'docker rm -f vn-database || true'
|
sh 'docker rm -f vn-database || true'
|
||||||
sh 'docker rm -f salix_e2e || true'
|
sh 'docker rm -f salix_e2e || true'
|
||||||
sh 'docker-compose -f docker-compose.e2e.yml down || true'
|
sh 'docker-compose -f docker-compose.e2e.yml down || true'
|
||||||
}
|
}
|
||||||
post {
|
|
||||||
always {
|
always {
|
||||||
junit(
|
junit(
|
||||||
testResults: 'junitresults.xml',
|
testResults: 'junitresults.xml',
|
||||||
|
|
Loading…
Reference in New Issue