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

20170121: Job [CRM_Mobile_SIT_ipa] configuration updated

Change performed by §N¨ήS
parent ed122bdd
......@@ -24,6 +24,12 @@ hotfix/1.47.1</description>
<defaultValue>10.32.86.124</defaultValue>
<trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
<name>CODE_PUSH</name>
<description></description>
<defaultValue>chm</defaultValue>
<trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
......@@ -61,25 +67,7 @@ hotfix/1.47.1</description>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>sh jenkins_ios.sh SIT
sed -i &apos;&apos; &quot;/url/s/\&apos;.*\&apos;;/\&apos;http:\/\/${API_SERVER}\/CRM\/\&apos;;/&quot; app/configs/constant/urls.js
sed -i &apos;&apos; &quot;/version/s/\&apos;.*\&apos;;/\&apos;${VERSION}\&apos;;/&quot; app/configs/constant/urls.js
sed -i &apos;&apos; &quot;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DATE}\&apos;;/&quot; app/configs/constant/urls.js
#rvm use ruby-2.6.0
bundle update
bundle exec fastlane ios beta
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>VERSION=SIT_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
NAME=CRM_Mobile
mv ~/Sites/$NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa
scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/crm/
#scp -o ProxyCommand=&apos;ssh -p 8080 jenkins@10.32.86.102 nc %h %p&apos; ~/Sites/${NAME}_${VERSION}.ipa jenkins@10.36.220.122:/opt/chm/www/app/update/</command>
<command>sh jenkins_ios_sit.sh ${CODE_PUSH}</command>
</hudson.tasks.Shell>
<hudson.plugins.parameterizedtrigger.TriggerBuilder plugin="parameterized-trigger@2.35.2">
<configs>
......
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