From 6994e9d94a32d6a33c595d6c55faea9cf8ce709b Mon Sep 17 00:00:00 2001 From: Johan Lorenzo Date: Fri, 20 Dec 2019 11:54:56 +0100 Subject: [PATCH] Bug 1568466 - part 2: Fix cron routes --- .taskcluster.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index 34d440f44..3dc6e9ad6 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -171,9 +171,10 @@ tasks: - index.project.mobile.${project}.v2.branch.${short_head_branch}.revision.${head_sha}.taskgraph.decision - $if: 'tasks_for == "cron"' then: - - index.project.mobile.${project}.v2.branch.${short_head_branch}.latest.taskgraph.decision-${cron.job_name} - - index.project.mobile.${project}.v2.branch.${short_head_branch}.revision.${head_sha}.taskgraph.decision-${cron.job_name} - - index.project.mobile.${project}.v2.branch.${short_head_branch}.revision.${head_sha}.taskgraph.cron.${ownTaskId} + # cron context provides ${head_branch} as a short one + - index.project.mobile.${project}.v2.branch.${head_branch}.latest.taskgraph.decision-${cron.job_name} + - index.project.mobile.${project}.v2.branch.${head_branch}.revision.${head_sha}.taskgraph.decision-${cron.job_name} + - index.project.mobile.${project}.v2.branch.${head_branch}.revision.${head_sha}.taskgraph.cron.${ownTaskId} scopes: $if: 'tasks_for == "github-push"' then: