Images correctamente

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

10
Jenkinsfile vendored
View File

@@ -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}", '.')
}
}
}