ci: refs #6695 update Jenkinsfile remove unnecessary environment variables
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-20 07:20:28 +01:00
parent 2deeb51f5e
commit af2b8f95c5
1 changed files with 1 additions and 5 deletions

6
Jenkinsfile vendored
View File

@ -96,7 +96,6 @@ pipeline {
steps {
script {
def packageJson = readJSON file: 'package.json'
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
env.NETWORK = "${PROJECT_NAME}-${env.BRANCH_NAME}-${env.BUILD_ID}"
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d"
@ -107,12 +106,9 @@ pipeline {
--network ${networkLowerCase}_default
-e TZ=Europe/Madrid
-e DOCKER=true
-e CI=true
-v .:/app
-w /app
""".stripIndent()) {
sh 'pnpm exec cypress install'
sh 'pnpm exec cypress run --browser chromium'
sh 'pnpm exec cypress run --browser chromium --ci'
}
}
}