Skip to content

Commit

Permalink
Parallelize ios/android builds
Browse files Browse the repository at this point in the history
  • Loading branch information
paullinator committed Jul 6, 2023
1 parent 49eddac commit 799c235
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def buildProduction(String stageName) {
}

pipeline {
agent any
agent none
tools {
nodejs 'stable'
}
Expand All @@ -67,11 +67,20 @@ pipeline {
stages {
stage('Parallel Stage') {
parallel {
stage('IOS/Android Build') {
stage('IOS Build') {
agent { label 'ios-build' }
steps {
script {
preBuildStages('IOS/Android')
preBuildStages('IOS')
buildProduction('ios')
}
}
}
stage('Android Build') {
agent { label 'android-build' }
steps {
script {
preBuildStages('Android')
buildProduction('android')
}
}
Expand Down

0 comments on commit 799c235

Please sign in to comment.