diff --git a/Jenkinsfile b/Jenkinsfile index 04ebb68..cdf2e4c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,11 +20,11 @@ pipeline { REACT_DIR = 'geradoresfe' SERVICE_DIR = 'GeradoresService' - API_DIR = 'GeradoresWS' + API_DIR = 'geradoresws' } stages { - stage('Validate Docker Connection') { + stage('Validate Docker Connection') { steps { script { echo "Validando conexão com Docker remoto: ${DOCKER_HOST}" @@ -33,7 +33,7 @@ pipeline { } } } - + stage('Check for Changes') { steps { script { @@ -88,7 +88,7 @@ pipeline { dir("${env.API_DIR}") { // Construir a imagem Docker do Backend usando o Dockerfile existente script { - docker.build("${env.API_DIR}:${IMAGE_TAG}", ".") + docker.build("${env.API_DIR}:${IMAGE_TAG}", '.') } } } @@ -113,7 +113,7 @@ pipeline { steps { dir("${env.REACT_DIR}") { script { - docker.build("${env.REACT_DIR}:${IMAGE_TAG}", ".") + docker.build("${env.REACT_DIR}:${IMAGE_TAG}", '.') } } }