Mise à jour de index.js
This commit is contained in:
parent
5a16c2c15b
commit
9e8009558a
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
|
@ -19,8 +19,11 @@ pipeline {
|
|||
environment {
|
||||
REGISTRY_URL = "registry.wk-archi-o24a-15m-g3.fr"
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user