ci: refs #6695 update Jenkinsfile remove unnecessary environment variables
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
2deeb51f5e
commit
af2b8f95c5
|
@ -96,7 +96,6 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def packageJson = readJSON file: 'package.json'
|
def packageJson = readJSON file: 'package.json'
|
||||||
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
|
|
||||||
env.NETWORK = "${PROJECT_NAME}-${env.BRANCH_NAME}-${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"
|
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d"
|
||||||
|
@ -107,12 +106,9 @@ pipeline {
|
||||||
--network ${networkLowerCase}_default
|
--network ${networkLowerCase}_default
|
||||||
-e TZ=Europe/Madrid
|
-e TZ=Europe/Madrid
|
||||||
-e DOCKER=true
|
-e DOCKER=true
|
||||||
-e CI=true
|
|
||||||
-v .:/app
|
|
||||||
-w /app
|
|
||||||
""".stripIndent()) {
|
""".stripIndent()) {
|
||||||
sh 'pnpm exec cypress install'
|
sh 'pnpm exec cypress install'
|
||||||
sh 'pnpm exec cypress run --browser chromium'
|
sh 'pnpm exec cypress run --browser chromium --ci'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue