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-05-21 14:47:30 +00:00
|
|
|
timeout(90) {
|
2018-08-13 11:40:24 +00:00
|
|
|
node ('fastlane'){
|
2018-03-28 09:15:16 +00:00
|
|
|
|
2018-05-21 14:47:30 +00:00
|
|
|
stage('Git & Dependencies'){
|
2018-03-28 09:15:16 +00:00
|
|
|
|
2018-05-21 14:47:30 +00:00
|
|
|
checkout([$class: 'GitSCM', branches: [[name: 'develop']],
|
|
|
|
doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CleanBeforeCheckout']],
|
|
|
|
submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/status-im/status-react.git']]])
|
|
|
|
|
|
|
|
load "$HOME/env.groovy"
|
|
|
|
}
|
2018-03-28 09:15:16 +00:00
|
|
|
|
2018-05-21 14:47:30 +00:00
|
|
|
stage('Clean Testflight Users'){
|
2018-03-28 09:15:16 +00:00
|
|
|
|
2018-05-21 14:47:30 +00:00
|
|
|
withCredentials([string(credentialsId: 'FASTLANE_PASSWORD', variable: 'FASTLANE_PASSWORD'),
|
|
|
|
string(credentialsId: 'APPLE_ID', variable: 'APPLE_ID')]) {
|
|
|
|
sh ('bundle install')
|
|
|
|
sh ('bundle exec fastlane ios clean')}}
|
|
|
|
}
|
2018-03-28 09:15:16 +00:00
|
|
|
}
|