test: refs #6695 try run e2e parallel
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
2e8caf6e8f
commit
1da88fd70c
|
@ -105,6 +105,11 @@ pipeline {
|
||||||
sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git'
|
sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Build E2E') {
|
||||||
|
steps {
|
||||||
|
sh 'docker-compose -f docker-compose.e2e.yml build e2e'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Up') {
|
stage('Up') {
|
||||||
parallel{
|
parallel{
|
||||||
stage('Database') {
|
stage('Database') {
|
||||||
|
@ -124,11 +129,6 @@ pipeline {
|
||||||
sh 'docker-compose -f docker-compose.e2e.yml up -d --build front'
|
sh 'docker-compose -f docker-compose.e2e.yml up -d --build front'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build E2E') {
|
|
||||||
steps {
|
|
||||||
sh 'docker-compose -f docker-compose.e2e.yml build e2e'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Run: Globals') {
|
stage('Run: Globals') {
|
||||||
|
@ -145,6 +145,20 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Run: Specifics') {
|
||||||
|
parallel{
|
||||||
|
stage('claim') {
|
||||||
|
steps {
|
||||||
|
sh 'docker-compose -f docker-compose.e2e.yml run e2e npx cypress run --config specPattern=test/cypress/integration/claim/**/*.spec.js'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('item') {
|
||||||
|
steps {
|
||||||
|
sh 'docker-compose -f docker-compose.e2e.yml run e2e npx cypress run --config specPattern=test/cypress/integration/item/**/*.spec.js'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
|
Loading…
Reference in New Issue