Closed Bug 1207810 Opened 9 years ago Closed 7 years ago

Add TreeherderJob.add_machine_url() to add machine details

Categories

(Tree Management :: Treeherder: API, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: whimboo, Unassigned)

Details

Similar to add_build_url() we would need add_machine_url() which can be used to set a specific URL of a machine. This is important if the machines are not managed by IT and not accessible via https://secure.pub.build.mozilla.org/builddata/reports/slave_health/slave.html?name= With the above method we could then specify our own path like: http://mm-ci-production.qa.scl3.mozilla.com:8080/computer/mm-osx-1010-1/
Hmm I'm wondering if the true fix for these kind of features (linking to external pages related to the job, but whose base URL vary depending on the external system that scheduled/submitted the job) is to just use JobDetails instead? We'd then have a set of standard JobDetail types for things that are exposed in Treeherder's UI, and external systems can provide their own display text/URLs for them.
If it isn't resolved yet, can I work on this?
In the new Taskcluster world, these machine pages don't really exist, so I think we should wontfix this. Thank you for the interest though! :-)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.