зеркало из https://github.com/mozilla/bedrock.git
Move testing success message to a single one at the end
This commit is contained in:
Родитель
f3c79c3531
Коммит
fe3457a7b1
|
@ -3,6 +3,6 @@
|
|||
demo: true
|
||||
regions:
|
||||
- virginia
|
||||
- tokyo
|
||||
integration_tests:
|
||||
- headless
|
||||
- firefox
|
||||
|
|
|
@ -76,6 +76,7 @@ if ( config.push_public_registry != false ) {
|
|||
*/
|
||||
if ( config.apps ) {
|
||||
milestone()
|
||||
tested_apps = []
|
||||
// default to usw only
|
||||
def regions = config.regions ?: ['usw']
|
||||
for (regionId in regions) {
|
||||
|
@ -139,11 +140,14 @@ if ( config.apps ) {
|
|||
utils.ircNotification([stage: "Integration Tests ${appname}-${region.name}", status: 'failure'])
|
||||
throw err
|
||||
}
|
||||
tested_apps << "${appname}-${region.name}".toString()
|
||||
}
|
||||
// huge success \o/
|
||||
utils.ircNotification([message: "${appURL} passed all tests!", status: 'success'])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( tested_apps ) {
|
||||
// huge success \o/
|
||||
utils.ircNotification([message: "All tests passed: ${tested_apps.join(', ')}", status: 'success'])
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче