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:
parent
281b304edb
commit
e6b426e094
|
@ -50,22 +50,14 @@ node('linux') {
|
|||
|
||||
parallel (
|
||||
'statusgo-android': {
|
||||
if (env.platform == 'android') {
|
||||
sh 'make statusgo-android'
|
||||
} else {
|
||||
print 'Skipping Android'
|
||||
}
|
||||
sh 'make statusgo-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'
|
||||
}
|
||||
sh '''
|
||||
make statusgo-ios-simulator
|
||||
cd build/bin/statusgo-ios-9.3-framework/
|
||||
zip -r status-go-ios.zip Statusgo.framework
|
||||
'''
|
||||
}
|
||||
)
|
||||
}
|
Loading…
Reference in New Issue