Mise à jour de index.js

This commit is contained in:
soufiane 2025-11-03 20:48:27 +01:00
parent 5a16c2c15b
commit 9e8009558a

7
Jenkinsfile vendored
View File

@ -19,8 +19,11 @@ pipeline {
environment { environment {
REGISTRY_URL = "registry.wk-archi-o24a-15m-g3.fr" REGISTRY_URL = "registry.wk-archi-o24a-15m-g3.fr"
IMAGE_NAME = "the-tip-top-backend" IMAGE_NAME = "the-tip-top-backend"
TAG = "${params.ENV}-latest"
DEPLOY_PATH = "/srv/devops/the-tip-top/${params.ENV}" // Déduit automatiquement ENV à partir de la branche Git
ENV = sh(script: "git rev-parse --abbrev-ref HEAD", returnStdout: true).trim()
TAG = "${ENV}-latest"
DEPLOY_PATH = "/srv/devops/the-tip-top/${ENV}"
} }
stages { stages {