Images correctamente

This commit is contained in:
Marco Santos
2024-11-27 12:53:44 +00:00
parent 67d355caa7
commit 8f66860635

6
Jenkinsfile vendored
View File

@@ -20,7 +20,7 @@ pipeline {
REACT_DIR = 'geradoresfe' REACT_DIR = 'geradoresfe'
SERVICE_DIR = 'GeradoresService' SERVICE_DIR = 'GeradoresService'
API_DIR = 'GeradoresWS' API_DIR = 'geradoresws'
} }
stages { stages {
@@ -88,7 +88,7 @@ pipeline {
dir("${env.API_DIR}") { dir("${env.API_DIR}") {
// Construir a imagem Docker do Backend usando o Dockerfile existente // Construir a imagem Docker do Backend usando o Dockerfile existente
script { script {
docker.build("${env.API_DIR}:${IMAGE_TAG}", ".") docker.build("${env.API_DIR}:${IMAGE_TAG}", '.')
} }
} }
} }
@@ -113,7 +113,7 @@ pipeline {
steps { steps {
dir("${env.REACT_DIR}") { dir("${env.REACT_DIR}") {
script { script {
docker.build("${env.REACT_DIR}:${IMAGE_TAG}", ".") docker.build("${env.REACT_DIR}:${IMAGE_TAG}", '.')
} }
} }
} }