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