Closed Bug 1524912 Opened 10 months ago Closed 9 months ago

Add a "times" property to the add-new-jobs action definition to trigger the new jobs multiple times

Categories

(Taskcluster :: Services, enhancement)

enhancement
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla67

People

(Reporter: KWierso, Assigned: KWierso)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The retrigger action has a "times" property you can use to request multiple copies of the desired job with a single action task submission. It'd be nice if the add-new-jobs action had the same thing.

https://searchfox.org/mozilla-central/source/taskcluster/taskgraph/actions/retrigger.py#74-80

Assignee: nobody → wkocher

It works! This push [1] has this patch applied.

The first add-new task was with Treeherder's built-in add new jobs feature, and it created one of the additional "f8" jobs. Treeherder doesn't know about the new "times" property so it defaulted to "times=1".

The second add-new task was created via a custom action within taskcluster, and it created the other two additional "f8" jobs and the two extra "tg" jobs. It set "times=2", so it created the requested tasks twice.

  1. https://treeherder.mozilla.org/#/jobs?repo=try&revision=253875dc7af99514988a11a64e8fa1ca9ae4d93b&group_state=expanded

Note that treeherder has a "custom action" dialog too -- both for a single task and for a whole push.

Pushed by wkocher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8df3511d76e0
Add a 'times' value to add-new-jobs action r=dustin
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Component: Integration → Services
You need to log in before you can comment on or make changes to this bug.