build: refs #6695 try run db
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
This commit is contained in:
parent
ff625f683a
commit
6033ff4790
|
@ -78,17 +78,19 @@ pipeline {
|
|||
def packageJson = readJSON file: 'package.json'
|
||||
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
|
||||
}
|
||||
|
||||
// sh 'quasar build'
|
||||
// sh 'docker-compose -f docker-compose.e2e.yml build front'
|
||||
// sh 'docker-compose -f docker-compose.e2e.yml up front'
|
||||
sh "docker network rm e2e_default || true"
|
||||
sh 'docker network create e2e_default || true'
|
||||
|
||||
// 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'
|
||||
sh 'cd salix && pnpm i --prefer-offline @verdnatura/myt && npx myt run -t -d -n e2e_default'
|
||||
sh 'cd salix && pnpm i --prefer-offline @verdnatura/myt && npx myt run -t -d'
|
||||
sh 'docker build -f ./salix/back/Dockerfile -t back ./salix'
|
||||
// sh 'docker buildx build --tag back -f salix/back/Dockerfile ./salix'
|
||||
sh 'docker run --net=e2e_default -v $(pwd)/test/cypress/storage:/salix/storage back'
|
||||
sh 'docker run --net=host -v $(pwd)/test/cypress/storage:/salix/storage back'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
|
Loading…
Reference in New Issue