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:26:43 +01:00
parent af2b8f95c5
commit de7a7c5144
2 changed files with 4 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -106,9 +106,9 @@ pipeline {
--network ${networkLowerCase}_default
-e TZ=Europe/Madrid
-e DOCKER=true
-e CI=true
""".stripIndent()) {
sh 'pnpm exec cypress install'
sh 'pnpm exec cypress run --browser chromium --ci'
sh 'pnpm exec cypress run --browser chromium'
}
}
}

View File

@ -2,6 +2,7 @@ FROM alexmorenovn/vndev:latest
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile && pnpm exec cypress install
RUN pnpm install --frozen-lockfile \
pnpm exec cypress install --cache-folder=/home/node/.cache/Cypress
WORKDIR /app