diff --git a/jobs/HRBActivityWeb/config.xml b/jobs/HRBActivityWeb/config.xml index 51631002f093522891e2e6311210f7c868eb05ee..9bb8a814faa5deac9c18f8e140d21b158fe9cf6e 100644 --- a/jobs/HRBActivityWeb/config.xml +++ b/jobs/HRBActivityWeb/config.xml @@ -7,6 +7,16 @@ ylhealth + + + + GIT_Branch + + master + false + + + 2 @@ -18,7 +28,7 @@ - */master + */${GIT_Branch} false @@ -34,7 +44,7 @@ false - echo BRANCH_NAME:${branchName} + echo BRANCH_NAME:${GIT_Branch} rsync --exclude .git -e "ssh -o ProxyCommand='ssh -p 8080 jenkins@10.32.86.102 nc %h %p'" -av ./ jenkins@10.36.220.161:/opt/www/hrb/eventWeb/20180401