From 85b2e36089aff356f827ce30ae04b7f7bf236434 Mon Sep 17 00:00:00 2001 From: Raphix Date: Sun, 19 Mar 2023 18:26:01 +0100 Subject: [PATCH] Test Neutral Pipeline #10 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 802e3c3..0a03dfe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,8 +5,8 @@ pipeline { stage('[Neutral] - Check Version') { steps { script { - def commit_name = sh "ssh raphix@raphix.fr sudo -S -u gitlab-ci cd /neutral/ && git log -1 --pretty=%B" - if(commit_name.contains("@")) { + def commit_name = env.TAG_NAME + if(commit_name) { echo "[Neutral] - Deployement version reconnu" } else {