diff --git a/Jenkinsfile b/Jenkinsfile index 2053f3d79..f930925e1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -83,12 +83,9 @@ pipeline { // sh 'docker-compose -f docker-compose.e2e.yml up front' sh 'rm -rf salix' sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git' - sh 'cd salix && pnpm i @verdnatura/myt && npx myt run -t -d' - sh 'docker-compose -f salix/docker-compose.yml build back && \ - docker-compose -f salix/docker-compose.yml run -d --service-ports \ - --network e2e_network \ - -v $(pwd)/test/cypress/storage:/salix/storage \ - back' + sh 'cd salix && pnpm i --offline @verdnatura/myt && npx myt run -t -d -n e2e_default' + sh 'docker buildx build -f salix/back/Dockerfile -t back ./salix' + sh 'docker run --net=e2e_default -v $(pwd)/test/cypress/storage:/salix/storage back' } post { always {