2019-04-02 16:41:33 +00:00
|
|
|
pipeline {
|
|
|
|
agent { label 'macos' }
|
2018-03-28 09:15:16 +00:00
|
|
|
|
2019-04-02 16:41:33 +00:00
|
|
|
environment {
|
|
|
|
LANG = "en_US.UTF-8"
|
|
|
|
LANGUAGE = "en_US.UTF-8"
|
|
|
|
LC_ALL = "en_US.UTF-8"
|
|
|
|
FASTLANE_DISABLE_COLORS = 1
|
|
|
|
REALM_DISABLE_ANALYTICS = 1
|
|
|
|
}
|
|
|
|
|
|
|
|
options {
|
|
|
|
timestamps()
|
|
|
|
/* Prevent Jenkins jobs from running forever */
|
|
|
|
timeout(time: 45, unit: 'MINUTES')
|
|
|
|
buildDiscarder(logRotator(numToKeepStr: '100'))
|
|
|
|
}
|
2018-03-28 09:15:16 +00:00
|
|
|
|
2019-04-02 16:41:33 +00:00
|
|
|
stages {
|
2018-11-13 18:35:17 +00:00
|
|
|
stage('Install Deps'){
|
2019-04-02 16:41:33 +00:00
|
|
|
steps {
|
|
|
|
sh ('bundle install')
|
|
|
|
}
|
2018-11-13 18:35:17 +00:00
|
|
|
}
|
2018-03-28 09:15:16 +00:00
|
|
|
|
2018-11-13 18:35:17 +00:00
|
|
|
stage('Clean Users'){
|
2019-04-02 16:41:33 +00:00
|
|
|
steps {
|
|
|
|
withCredentials([
|
|
|
|
usernamePassword(
|
|
|
|
credentialsId: 'fastlane-match-apple-id',
|
|
|
|
usernameVariable: 'FASTLANE_APPLE_ID',
|
|
|
|
passwordVariable: 'FASTLANE_PASSWORD'
|
|
|
|
),
|
|
|
|
]) {
|
|
|
|
sh ('bundle exec fastlane ios clean')
|
|
|
|
}
|
2018-11-13 18:35:17 +00:00
|
|
|
}
|
2018-05-21 14:47:30 +00:00
|
|
|
}
|
2018-11-13 18:35:17 +00:00
|
|
|
}
|
2018-03-28 09:15:16 +00:00
|
|
|
}
|