build: refs #6695 always clean dockers
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
8dd2659d9f
commit
7811e44d8b
|
@ -99,8 +99,6 @@ pipeline {
|
|||
def packageJson = readJSON file: 'package.json'
|
||||
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
|
||||
}
|
||||
// sh "docker network rm e2e_default || true"
|
||||
// sh 'docker network create e2e_default || true'
|
||||
sh 'rm -rf salix'
|
||||
sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git'
|
||||
// Db
|
||||
|
@ -117,13 +115,10 @@ pipeline {
|
|||
sh 'docker-compose -f docker-compose.e2e.yml up e2e'
|
||||
}
|
||||
post {
|
||||
failure {
|
||||
echo 'Removing containers...'
|
||||
always {
|
||||
sh 'docker rm -f vn-database || true'
|
||||
sh 'docker rm -f salix_e2e || true'
|
||||
sh 'docker-compose -f docker-compose.e2e.yml down || true'
|
||||
}
|
||||
always {
|
||||
junit(
|
||||
testResults: 'junitresults.xml',
|
||||
allowEmptyResults: true
|
||||
|
|
Loading…
Reference in New Issue