8714-devToTest #1547

Merged
alexm merged 712 commits from 8714-devToTest into test 2025-03-04 14:08:01 +00:00
1 changed files with 3 additions and 7 deletions
Showing only changes of commit 5927fb4548 - Show all commits

10
Jenkinsfile vendored
View File

@ -107,18 +107,14 @@ pipeline {
environment {
CREDENTIALS = credentials('docker-registry')
COMPOSE_PROJECT = "${PROJECT_NAME}-${env.BUILD_ID}"
COMPOSE_PARAMS = """
--project-name ${env.COMPOSE_PROJECT}
--project-directory .
--file test/cypress/docker-compose.yml
""".stripIndent()
COMPOSE_PARAMS = "--project-name ${env.COMPOSE_PROJECT} --project-directory . --file test/cypress/docker-compose.yml"
TZ = 'Europe/Madrid'
CI = 'true'
}
steps {
script {
def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs')
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
sh "docker compose ${env.COMPOSE_PARAMS} up -d"
image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") {
sh 'cypress run --spec test/cypress/integration/claim/claimAction.spec.js'
}
@ -126,7 +122,7 @@ pipeline {
}
post {
always {
sh "docker-compose ${env.COMPOSE_PARAMS} down"
sh "docker compose ${env.COMPOSE_PARAMS} down"
junit(
testResults: 'e2e-junitresults.xml',
allowEmptyResults: true