merge Android and iOS notifications from Jenkins, remove tests line
This commit is contained in:
parent
7e6507be7c
commit
a7abed4dbf
|
@ -58,11 +58,6 @@ node ('macos1') {
|
|||
// testPassed = false
|
||||
// }
|
||||
|
||||
stage('Slack Notification Android') {
|
||||
def c = (testPassed ? 'good' : 'warning' )
|
||||
slackSend color: c, message: 'Branch: ' + BRANCH_NAME + '\nTests: ' + (testPassed ? ':+1:' : ':-1:') + ')\nAndroid: ' + apkUrl
|
||||
}
|
||||
|
||||
// iOS
|
||||
stage('Build (iOS)') {
|
||||
sh 'export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/StatusIm.xcworkspace -scheme StatusIm -configuration release -archivePath status clean archive'
|
||||
|
@ -77,9 +72,11 @@ node ('macos1') {
|
|||
}
|
||||
}
|
||||
|
||||
stage('Slack Notification iOS') {
|
||||
stage('Slack Notification') {
|
||||
def c = (testPassed ? 'good' : 'warning' )
|
||||
slackSend color: c, message: 'Branch: ' + BRANCH_NAME + '\nTests: ' + (testPassed ? ':+1:' : ':-1:') + ')\niOS: ' + ipaUrl
|
||||
slackSend color: c, message: 'Branch: ' + BRANCH_NAME +
|
||||
'\nAndroid: ' + apkUrl +
|
||||
'\niOS: ' + ipaUrl
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in New Issue