ci: refs #8698 Jenkins changeset #1525

Merged
alexm merged 62 commits from 8698_jenkins_e2e_onlyChanges into dev 2025-04-07 11:13:40 +00:00
1 changed files with 1 additions and 5 deletions
Showing only changes of commit 69d99350bc - Show all commits

6
Jenkinsfile vendored
View File

@ -117,16 +117,12 @@ pipeline {
sh 'rm -f junit/e2e-*.xml'
env.COMPOSE_TAG = PROTECTED_BRANCH.contains(env.CHANGE_TARGET) ? env.CHANGE_TARGET : 'dev'
def modules = sh(script: 'node test/cypress/docker/find/find.js', returnStdout: true).trim()
if (modules == "") {
echo "No modules changed. Skipping execution"
return
}
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 modules = sh(script: 'node test/cypress/docker/find/find.js', returnStdout: true).trim()
image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") {
sh "sh test/cypress/docker/cypressParallel.sh 2 '${modules}'"
}