From 2db7b9a373b1c734dbbc7e64bc54f8aca1f6c686 Mon Sep 17 00:00:00 2001 From: dany Date: Fri, 16 Sep 2022 11:04:13 +0200 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 0853ad6..cb797cb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -56,6 +56,8 @@ pipeline{ export WORKSPACE="jenkins/workspace/test" cd $WORKSPACE bash test.sh + bname=$(git branch –show-current) + echo "current branche is $bname" ''' sshCommand remote: remote, command: ''' for i in {1..5}; do