8714-devToTest #1547

Merged
alexm merged 712 commits from 8714-devToTest into test 2025-03-04 14:08:01 +00:00
1 changed files with 15 additions and 10 deletions
Showing only changes of commit 35f90f5ea1 - Show all commits

25
Jenkinsfile vendored
View File

@ -90,6 +90,7 @@ pipeline {
expression { !PROTECTED_BRANCH }
}
environment {
NODE_ENV = ""
CREDENTIALS = credentials('docker-registry')
}
stages {
@ -105,10 +106,14 @@ pipeline {
}
}
stage('Up') {
parallel {
stage('Database & Backend') {
parallel{
stage('Database') {
steps {
sh 'cd salix && pnpm i --prefer-offline @verdnatura/myt && npx myt run -t -d'
}
}
stage('Backend') {
steps {
sh 'docker build -f ./salix/back/Dockerfile -t back ./salix'
sh 'docker run -d --name salix_e2e --net=host -v $(pwd)/test/cypress/storage:/salix/storage back'
}
@ -125,14 +130,14 @@ pipeline {
sh 'docker-compose -f docker-compose.e2e.yml up e2e'
}
}
}
post {
always {
cleanDockerE2E()
junit(
testResults: 'junitresults.xml',
allowEmptyResults: true
)
post {
always {
cleanDockerE2E()
junit(
testResults: 'junitresults.xml',
allowEmptyResults: true
)
}
}
}
}