fix Jenkinsfile-manual to build both platforms (#393)

Build both platforms as in 99% both are needed.

This PR also fixes a bug when it was possible to build a binary for one platform but both were uploaded -- new one and cached one for the second platform.
This commit is contained in:
Adam Babik 2017-10-11 19:24:48 +02:00 committed by Ivan Tomilov
parent 281b304edb
commit e6b426e094
1 changed files with 6 additions and 14 deletions

View File

@ -50,22 +50,14 @@ node('linux') {
parallel (
'statusgo-android': {
if (env.platform == 'android') {
sh 'make statusgo-android'
} else {
print 'Skipping Android'
}
},
'statusgo-ios-simulator': {
if (env.platform == 'ios-simulator') {
sh '''
make statusgo-ios-simulator
cd build/bin/statusgo-ios-9.3-framework/
zip -r status-go-ios.zip Statusgo.framework
'''
} else {
print 'Skipping ios-simulator'
}
}
)
}