remove legacy jenkinsfiles

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2018-12-07 15:36:21 +01:00
parent 65826b178f
commit adbf77cb57
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 0 additions and 105 deletions

View File

@ -1,56 +0,0 @@
pipeline {
agent { label 'linux' }
options {
buildDiscarder(logRotator(
numToKeepStr: '60',
daysToKeepStr: '30',
artifactNumToKeepStr: '60',
))
}
environment {
BUILD_PLATFORM = 'android'
LANG = 'en_US.UTF-8'
LANGUAGE = 'en_US.UTF-8'
LC_ALL = 'en_US.UTF-8'
FASTLANE_DISABLE_COLORS = 1
REALM_DISABLE_ANALYTICS = 1
BUNDLE_PATH = "${HOME}/.bundle"
ANDROID_HOME = '/usr/lib/android-sdk'
ANDROID_SDK_ROOT = '/usr/lib/android-sdk'
ANDROID_NDK = '/usr/lib/android-ndk'
ANDROID_NDK_HOME = '/usr/lib/android-ndk'
}
stages {
stage('Prep') {
steps { script {
/* Necessary to load methods */
mobile = load 'ci/mobile.groovy'
cmn = load 'ci/common.groovy'
mobile.prep('release')
/* Run at start to void mismatched numbers */
cmn.buildNumber()
} }
}
stage('Lint') {
steps { script { cmn.runLint() } }
}
stage('Tests') {
steps { script { cmn.runTests() } }
}
stage('Build') {
steps { script { mobile.leinBuild('android') } }
}
stage('Compile') {
steps { script { apk = mobile.android.compile('release') } }
}
stage('Archive') {
steps { script { archiveArtifacts apk } }
}
stage('Upload') {
steps { script { mobile.android.uploadToPlayStore('release') } }
}
}
}

View File

@ -1,49 +0,0 @@
pipeline {
agent { label 'fastlane' }
options {
buildDiscarder(logRotator(
numToKeepStr: '30',
daysToKeepStr: '30',
artifactNumToKeepStr: '30',
))
}
environment {
BUILD_PLATFORM = 'ios'
LANG = 'en_US.UTF-8'
LANGUAGE = 'en_US.UTF-8'
LC_ALL = 'en_US.UTF-8'
FASTLANE_DISABLE_COLORS=1
REALM_DISABLE_ANALYTICS=1
BUNDLE_PATH = "${HOME}/.bundle"
}
stages {
stage('Prep') {
steps { script {
if (!BRANCH_NAME.startsWith("release/")){
error "Wrong branch name format: " + BRANCH_NAME + ", but it should be `release/<version>`"
}
/* Necessary to load methods */
mobile = load 'ci/mobile.groovy'
cmn = load 'ci/common.groovy'
mobile.prep('release')
/* Run at start to void mismatched numbers */
cmn.buildNumber()
} }
}
stage('Lint') {
steps { script { cmn.runLint() } }
}
stage('Tests') {
steps { script { cmn.runTests() } }
}
stage('Build') {
steps { script { mobile.leinBuild('ios') } }
}
stage('Compile') {
steps { script { api = mobile.ios.compile('testflight') } }
}
}
}