scheduled test has a empty sub description, fix to avoid empty notification message
@@ -13,7 +13,9 @@ def main(argv):
# Gitter config: "TOKEN:ROOM1,ROOM2,ROOM3,..."
gitter_config = os.environ.get('CUPY_CI_GITTER_CONFIG', None)
- subdesc = os.environ.get('FLEXCI_SUB_DESCRIPTION', '(no description)')
+ subdesc = os.environ.get('FLEXCI_SUB_DESCRIPTION', '')
+ if subdesc == '':
+ subdesc = os.environ.get('FLEXCI_DESCRIPTION', '(no description)')
url = os.environ.get('FLEXCI_JOB_URL', '<no url>')
msg = argv[1]
body = '''\
