Actualiser Jenkinsfile

This commit is contained in:
corenthin 2025-12-11 23:25:52 +01:00
parent f071e9e609
commit 0a65d1b5ed

5
Jenkinsfile vendored
View File

@ -5,7 +5,8 @@ pipeline {
agent any
environment {
SERVICE_NAME = 'ApiAutoDeploy'
DOCKER_REGISTRY_URL = 'http://172.75.13.27:3000/corenthin/apiautodeploy:latest'
DOCKER_REGISTRY_URL = 'http://172.75.13.27:3000/corenthin/apiautodeploy:latest'
DOCKER_TAG = '172.75.13.27:3000/corenthin/apiautodeploy:latest'
DEPLOY_HOST = '172.75.13.5'
DEPLOY_CREDENTIALS_ID = '1000'
DATABASE_URL_SECRET = '1001'
@ -24,7 +25,7 @@ pipeline {
stage('Build Docker Image') {
steps {
script {
env.IMAGE_TAG = "${env.DOCKER_REGISTRY_URL}"
env.IMAGE_TAG = "${env.DOCKER_DOCKER_TAG}"
echo "Construction de l'image Docker pour l'API TS avec le tag : ${env.IMAGE_TAG}"