Skip to content

Commit

Permalink
Bug 1630710: Add link to specfic task in treeherder for decision task…
Browse files Browse the repository at this point in the history
…; r=Callek

Differential Revision: https://phabricator.services.mozilla.com/D82627
  • Loading branch information
tomprince committed Jul 8, 2020
1 parent 927f176 commit 4eacbe9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ tasks:
then: {$fromNow: '28 days'}
else: {$fromNow: '1 year'}
trustDomain: gecko
treeherder_link: '[Treeherder job](https://treeherder.mozilla.org/#/jobs?repo=${repository.project}&revision=${push.revision}&selectedTaskRun=${ownTaskId})'
in:
taskId: {$if: 'tasks_for != "action"', then: '${ownTaskId}'}
taskGroupId:
Expand All @@ -84,18 +85,20 @@ tasks:
- $if: 'tasks_for == "hg-push"'
then:
name: "Gecko Decision Task"
description: 'The task that creates all of the other tasks in the task graph'
description: 'The task that creates all of the other tasks in the task graph (${treeherder_link})'
else:
$if: 'tasks_for == "action"'
then:
name: "Action: ${action.title}"
description: |
${action.description}
${treeherder_link}
Action triggered by clientID `${clientId}`
else:
name: "Decision Task for cron job ${cron.job_name}"
description: 'Created by a [cron task](https://firefox-ci-tc.services.mozilla.com/tasks/${cron.task_id})'
description: 'Created by a [cron task](https://firefox-ci-tc.services.mozilla.com/tasks/${cron.task_id}) (${treeherder_link})'

provisionerId: "${trustDomain}-${repository.level}"
workerType: "decision"
Expand Down

0 comments on commit 4eacbe9

Please sign in to comment.