fix which job is run to update nightly URLs

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
This commit is contained in:
Jakub Sokołowski 2018-08-08 14:26:28 -04:00 committed by Dmitry Novotochinov
parent e6b4553ce1
commit c70e7a48b2
No known key found for this signature in database
GPG Key ID: 43D1DAF5AD39C927
2 changed files with 14 additions and 2 deletions

View File

@ -96,7 +96,13 @@ timeout(90) {
stage('Slack Notification') { stage('Slack Notification') {
def c = (testPassed ? 'good' : 'warning' ) def c = (testPassed ? 'good' : 'warning' )
slackSend color: c, message: 'Nightly build (develop) \nTests: ' + (testPassed ? ':+1:' : ':-1:') + ')\nAndroid: ' + apkUrl + '\n iOS: ' + ipaUrl slackSend color: c, message: 'Nightly build (develop) \nTests: ' + (testPassed ? ':+1:' : ':-1:') + ')\nAndroid: ' + apkUrl + '\n iOS: ' + ipaUrl
build job: 'status-react/status-nightly-publish-link', parameters: [[$class: 'StringParameterValue', name: 'APK_URL', value: apkUrl], [$class: 'StringParameterValue', name: 'IOS_URL', value: ipaUrl]] build(
job: 'misc/status-im.github.io-update_env',
parameters: [
[$class: 'StringParameterValue', name: 'APK_URL', value: apkUrl],
[$class: 'StringParameterValue', name: 'IOS_URL', value: ipaUrl]
]
)
} }
stage('Build (Android) for e2e tests') { stage('Build (Android) for e2e tests') {

View File

@ -121,7 +121,13 @@ timeout(90) {
} }
stage('Run status-nightly-publish-link job') { stage('Run status-nightly-publish-link job') {
build job: 'status-react/status-nightly-publish-link', parameters: [[$class: 'StringParameterValue', name: 'APK_URL', value: apkUrl], [$class: 'StringParameterValue', name: 'IOS_URL', value: ipaUrl]] build(
job: 'misc/status-im.github.io-update_env',
parameters: [
[$class: 'StringParameterValue', name: 'APK_URL', value: apkUrl],
[$class: 'StringParameterValue', name: 'IOS_URL', value: ipaUrl]
]
)
} }
stage('Build (Android) for e2e tests') { stage('Build (Android) for e2e tests') {