ci: refs #6695 try
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
1de829f016
commit
a557b63f3f
|
@ -98,12 +98,12 @@ pipeline {
|
|||
def packageJson = readJSON file: 'package.json'
|
||||
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
|
||||
env.NETWORK = "${PROJECT_NAME}-${env.BRANCH_NAME}-${env.BUILD_ID}"
|
||||
docker.build('cypress-setup:latest', "-f ./test/cypress/Dockerfile .")
|
||||
// docker.build('cypress-setup:latest', "-f ./test/cypress/Dockerfile .")
|
||||
|
||||
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d"
|
||||
|
||||
def networkLowerCase = env.NETWORK.toLowerCase()
|
||||
def image = docker.image('cypress-setup:latest')
|
||||
def image = docker.build('cypress-setup', '-f ./test/cypress/Dockerfile .')
|
||||
image.inside("""
|
||||
--network ${networkLowerCase}_default \
|
||||
-e TZ=Europe/Madrid \
|
||||
|
|
Loading…
Reference in New Issue