Jenkins: don't build unnecessary platforms for mobile builds.
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
parent
ec611424cb
commit
aff20395f3
|
@ -45,7 +45,7 @@ pipeline {
|
|||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
script { mobile.leinBuild() }
|
||||
script { mobile.leinBuild('android') }
|
||||
}
|
||||
}
|
||||
stage('Compile') {
|
||||
|
|
|
@ -49,7 +49,7 @@ pipeline {
|
|||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
script { mobile.leinBuild() }
|
||||
script { mobile.leinBuild('ios') }
|
||||
}
|
||||
}
|
||||
stage('Compile') {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue