[CI] fix the nightly builds pipelines

This commit is contained in:
Dipak Acharya
2020-11-23 12:05:56 +05:45
committed by Phil Davis
parent f42031a4f4
commit 6002398e6b

View File

@@ -198,7 +198,7 @@ def main(ctx):
notify(ctx),
]
if ctx.build.cron != "":
if ctx.build.event == "cron":
notify_pipelines = notify(ctx)
notify_pipelines['depends_on'] = getTestPipelinesNames(ctx)
pipelines = [ before, notify_pipelines ]