add unlocking macos keychain before xcodebuild steps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c5fc619eff
commit
a904730f19
|
@ -87,10 +87,16 @@ timeout(90) {
|
||||||
|
|
||||||
// iOS
|
// iOS
|
||||||
stage('Build (iOS)') {
|
stage('Build (iOS)') {
|
||||||
|
withCredentials([string(
|
||||||
|
credentialsId: "slave-pass-${env.NODE_NAME}",
|
||||||
|
variable: 'password'
|
||||||
|
)]) {
|
||||||
env.RCT_NO_LAUNCH_PACKAGER = true
|
env.RCT_NO_LAUNCH_PACKAGER = true
|
||||||
|
sh "security unlock-keychain -p ${password} login.keychain"
|
||||||
sh 'xcodebuild -workspace ios/StatusIm.xcworkspace -scheme StatusIm -configuration release -archivePath status clean archive'
|
sh 'xcodebuild -workspace ios/StatusIm.xcworkspace -scheme StatusIm -configuration release -archivePath status clean archive'
|
||||||
sh 'xcodebuild -exportArchive -exportPath status -archivePath status.xcarchive -exportOptionsPlist ios/archive-develop.plist'
|
sh 'xcodebuild -exportArchive -exportPath status -archivePath status.xcarchive -exportOptionsPlist ios/archive-develop.plist'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Deploy (iOS)') {
|
stage('Deploy (iOS)') {
|
||||||
withCredentials([string(credentialsId: 'diawi-token', variable: 'token')]) {
|
withCredentials([string(credentialsId: 'diawi-token', variable: 'token')]) {
|
||||||
|
|
Loading…
Reference in New Issue