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

This commit is contained in:
Alex Moreno 2025-01-28 08:41:20 +01:00
parent ae4731c7e6
commit 68015056ab
1 changed files with 5 additions and 4 deletions

9
Jenkinsfile vendored
View File

@ -91,8 +91,8 @@ pipeline {
expression { !PROTECTED_BRANCH } expression { !PROTECTED_BRANCH }
} }
environment { environment {
CREDENTIALS = credentials('docker-registry') // CREDENTIALS = credentials('docker-registry')
IMAGE = "$REGISTRY/salix-back" // IMAGE = "$REGISTRY/salix-back"
} }
steps { steps {
script { script {
@ -109,15 +109,16 @@ pipeline {
sh 'rm -rf salix' sh 'rm -rf salix'
sh 'docker-compose down' sh 'docker-compose down'
sh 'docker-compose rm' sh 'docker-compose rm'
sh 'docker-compose -f docker-compose.e2e.yml up front --build'
// sh 'docker rm -f back' // sh 'docker rm -f back'
// sh 'docker rm -f db' // sh 'docker rm -f db'
// sh 'docker rm -f front' // sh 'docker rm -f front'
// sh 'docker rm -f e2e' // sh 'docker rm -f e2e'
sh 'git clone --branch dev https://gitea.verdnatura.es/verdnatura/salix.git' // sh 'git clone --branch dev https://gitea.verdnatura.es/verdnatura/salix.git'
// sh 'cd front' // sh 'cd front'
// sh '# export VERSION=e2e-try' // sh '# export VERSION=e2e-try'
// sh 'docker build -f salix/back/Dockerfile -t back ./salix' // sh 'docker build -f salix/back/Dockerfile -t back ./salix'
sh 'docker-compose version' // sh 'docker-compose version'
// // // sh 'quasar build' // // // sh 'quasar build'
// // // sh 'docker compose -f docker-compose.e2e.yml build front' // // // sh 'docker compose -f docker-compose.e2e.yml build front'
// // // sh 'docker compose -f docker-compose.e2e.yml up front' // // // sh 'docker compose -f docker-compose.e2e.yml up front'