Jenkins: don't build unnecessary platforms for mobile builds.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
Igor Mandrigin 2018-08-29 14:38:12 +02:00 committed by Eric Dvorsak
parent ec611424cb
commit aff20395f3
No known key found for this signature in database
GPG Key ID: 932AC1CE5F05DE0C
3 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ pipeline {
}
stage('Build') {
steps {
script { mobile.leinBuild() }
script { mobile.leinBuild('android') }
}
}
stage('Compile') {

View File

@ -49,7 +49,7 @@ pipeline {
}
stage('Build') {
steps {
script { mobile.leinBuild() }
script { mobile.leinBuild('ios') }
}
}
stage('Compile') {

View File

@ -29,8 +29,8 @@ def runTests() {
sh 'lein test-cljs'
}
def leinBuild() {
sh 'lein prod-build'
def leinBuild(platform) {
sh "lein prod-build-${platform}"
}
return this