Update 'Jenkinsfile'
This commit is contained in:
parent
cf3a91b4c3
commit
2db7b9a373
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -56,6 +56,8 @@ 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)
|
||||||
|
echo "current branche is $bname"
|
||||||
'''
|
'''
|
||||||
sshCommand remote: remote, command: '''
|
sshCommand remote: remote, command: '''
|
||||||
for i in {1..5}; do
|
for i in {1..5}; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user