diff --git a/Jenkinsfile b/Jenkinsfile index c527d9660..9c8e06aef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -117,10 +117,11 @@ pipeline { sh 'rm -f junit/e2e-*.xml' env.COMPOSE_TAG = PROTECTED_BRANCH.contains(env.CHANGE_TARGET) ? env.CHANGE_TARGET : 'dev' + def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs') + sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY' sh "docker-compose ${env.COMPOSE_PARAMS} up -d" - def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs') image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") { sh 'cypress run --browser chromium || true' }