diff --git a/Jenkinsfile b/Jenkinsfile index 7f35887e3f4..cc040d78851 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -111,9 +111,8 @@ pipeline { } steps { script { - sh "docker-compose ${env.COMPOSE_PARAMS} up -d" - def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs') + sh "docker-compose ${env.COMPOSE_PARAMS} up -d" image.inside("--network ${env.COMPOSE_PROJECT}_default -e TZ -e CI -e DOCKER") { sh 'cypress run --browser chromium --spec test/cypress/integration/claim/claimAction.spec.js' } diff --git a/test/cypress/docker-compose.yml b/test/cypress/docker-compose.yml index f07b8d8679e..227afa3c91c 100644 --- a/test/cypress/docker-compose.yml +++ b/test/cypress/docker-compose.yml @@ -12,6 +12,7 @@ services: command: quasar dev volumes: - .:/app + working_dir: /app environment: - TZ - CI