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

20170121: Job [HRB_Mobile_Other_ipa] configuration updated

Change performed by §N¨ήS
parent d26aef5e
......@@ -56,7 +56,7 @@ commitId
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.2">
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
......@@ -89,11 +89,10 @@ MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
# npm install --update-binary
yarn install
sed -i &apos;&apos; &quot;/url/s/http.*\//http:\/\/${API_SERVER}\//g&quot; src/configs/index.js
sed -i &quot;&quot; &apos;/url/s/http.*\//https:\/\/hrb.foxconn.com\//g&apos; src/configs/index.js
sed -i &apos;&apos; &quot;/version/s/\&apos;.*\&apos;;/\&apos;${VERSION}\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DATE}\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/allergyUrl/s/\__DEV__.*\&apos;;/\&apos;http:\/\/${API_SERVER}\/\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &apos;s/appVersion.*/appVersion&quot;: &quot;1.27&quot;/&apos; appConfig.json
sed -i &apos;&apos; &apos;s/piwikSiteId_ios =.*/piwikSiteId_ios = 10;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 11;/&apos; src/configs/index.js
# RN0.57.8 modify(HA-1058), after RN0.58 will remove this command
sed -i &quot;&quot; &apos;s/NSUInteger loopCount = 0;/CGFloat loopCount = 0;/&apos; node_modules/react-native/Libraries/Image/RCTGIFImageDecoder.m
......@@ -109,7 +108,7 @@ npm run build-thread-ios
##echo &quot;gem &apos;fastlane&apos;, &apos;2.107.0&apos;&quot; &gt;&gt; Gemfile
#bundle update
#bundle install
bundle exec fastlane ios beta
bundle exec fastlane ios release
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
......@@ -129,8 +128,8 @@ scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/</command
<externalDelete></externalDelete>
<disableDeferredWipeout>false</disableDeferredWipeout>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.8.10"/>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.6.1">
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.9"/>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.6.2">
<colorMapName>xterm</colorMapName>
</hudson.plugins.ansicolor.AnsiColorBuildWrapper>
</buildWrappers>
......
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