feat: refs #6695 jenkins run e2e rebuild
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2024-10-07 10:36:11 +02:00
parent efcb70e741
commit 0f08e151bc
1 changed files with 6 additions and 2 deletions

8
Jenkinsfile vendored
View File

@ -104,13 +104,17 @@ pipeline {
// sh 'docker-compose -f docker-compose.yml up db'
// sh 'docker run --name back $IMAGE:dev'
sh 'rm -rf salix'
// sh 'docker rm -f back'
// sh 'docker rm -f db'
// sh 'docker rm -f front'
// sh 'docker rm -f e2e'
sh 'git clone --branch dev https://gitea.verdnatura.es/verdnatura/salix.git'
// sh 'cd front'
// sh '# export VERSION=e2e-try'
sh 'docker build -f salix/back/Dockerfile -t back ./salix'
sh 'docker-compose -f docker-compose.e2e.yml up db'
sh 'docker-compose -f docker-compose.e2e.yml up --build db'
sh 'docker run --net=host -v ./test/cypress/storage:/salix/storage -d back'
sh 'docker-compose -f docker-compose.e2e.yml up -d front'
sh 'docker-compose -f docker-compose.e2e.yml up -d --build front'
sh 'docker-compose -f docker-compose.e2e.yml up e2e'
}