fix: refs #8698 update Jenkinsfile to run Cypress tests with specified modules
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
d01951a709
commit
83c0bfad0c
|
@ -121,11 +121,10 @@ pipeline {
|
|||
def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs')
|
||||
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
|
||||
|
||||
def result = sh(script: 'node test/cypress/docker/find/find.js', returnStdout: true).trim()
|
||||
echo "El resultado es: ${result}"
|
||||
// image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") {
|
||||
// sh "cypress run --browser chromium || true"
|
||||
// }
|
||||
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 "cypress run --browser chromium --spec ${modules}|| true"
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
|
|
Loading…
Reference in New Issue