Update 'Jenkinsfile'

This commit is contained in:
dany 2022-09-16 11:06:03 +02:00
parent 2db7b9a373
commit a95d4b8dd8

2
Jenkinsfile vendored
View File

@ -56,7 +56,7 @@ pipeline{
export WORKSPACE="jenkins/workspace/test" export WORKSPACE="jenkins/workspace/test"
cd $WORKSPACE cd $WORKSPACE
bash test.sh bash test.sh
bname=$(git branch show-current) bname=$(git branch --show-current)
echo "current branche is $bname" echo "current branche is $bname"
''' '''
sshCommand remote: remote, command: ''' sshCommand remote: remote, command: '''