Commit 37848423 authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20140144: Job [HRBActivityWeb] configuration updated

Change performed by ·¨¼y°ó
parent d5b130d3
......@@ -7,6 +7,16 @@
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.10">
<gitLabConnection>ylhealth</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
<name>GIT_Branch</name>
<description></description>
<defaultValue>master</defaultValue>
<trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1">
<configVersion>2</configVersion>
......@@ -18,7 +28,7 @@
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/master</name>
<name>*/${GIT_Branch}</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
......@@ -34,7 +44,7 @@
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>echo BRANCH_NAME:${branchName}
<command>echo BRANCH_NAME:${GIT_Branch}
rsync --exclude .git -e &quot;ssh -o ProxyCommand=&apos;ssh -p 8080 jenkins@10.32.86.102 nc %h %p&apos;&quot; -av ./ jenkins@10.36.220.161:/opt/www/hrb/eventWeb/20180401</command>
</hudson.tasks.Shell>
</builders>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment