2018-03-28 09:15:16 +00:00
|
|
|
env.LANG="en_US.UTF-8"
|
|
|
|
env.LANGUAGE="en_US.UTF-8"
|
|
|
|
env.LC_ALL="en_US.UTF-8"
|
2018-07-20 12:57:03 +00:00
|
|
|
env.FASTLANE_DISABLE_COLORS=1
|
2018-08-13 12:42:23 +00:00
|
|
|
env.REALM_DISABLE_ANALYTICS=1
|
2018-03-28 09:15:16 +00:00
|
|
|
|
2018-11-13 18:35:17 +00:00
|
|
|
timeout(120) {
|
|
|
|
node ('macos') {
|
|
|
|
stage('Git Checkout'){
|
|
|
|
checkout([
|
|
|
|
$class: 'GitSCM',
|
|
|
|
branches: [[name: 'develop']],
|
|
|
|
doGenerateSubmoduleConfigurations: false,
|
|
|
|
extensions: [[$class: 'CleanBeforeCheckout']],
|
|
|
|
submoduleCfg: [],
|
|
|
|
userRemoteConfigs: [[url: 'https://github.com/status-im/status-react.git']]
|
|
|
|
])
|
2018-05-21 14:47:30 +00:00
|
|
|
}
|
2018-03-28 09:15:16 +00:00
|
|
|
|
2018-11-13 18:35:17 +00:00
|
|
|
stage('Install Deps'){
|
|
|
|
sh ('bundle install')
|
|
|
|
}
|
2018-03-28 09:15:16 +00:00
|
|
|
|
2018-11-13 18:35:17 +00:00
|
|
|
stage('Clean Users'){
|
|
|
|
withCredentials([
|
|
|
|
string(credentialsId: 'FASTLANE_PASSWORD', variable: 'FASTLANE_PASSWORD'),
|
|
|
|
string(credentialsId: 'APPLE_ID', variable: 'APPLE_ID')]
|
|
|
|
) {
|
2018-05-21 14:47:30 +00:00
|
|
|
sh ('bundle install')
|
2018-11-13 18:35:17 +00:00
|
|
|
sh ('bundle exec fastlane ios clean')
|
|
|
|
}
|
2018-05-21 14:47:30 +00:00
|
|
|
}
|
2018-11-13 18:35:17 +00:00
|
|
|
}
|
2018-03-28 09:15:16 +00:00
|
|
|
}
|