Actions
Bug #31428
closedMake last remote execution status clickable, leading to the last invocation
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
No
Description
Since #30966, the status can define a status_link method. It can return the url the status then links to. We should link to the last job invocation of the host.
To do that, we can find the job by the task id. Note that the specific status instance links to the last task, however we need to look to it's parent, which represents the overall job. We can then find the job by this parent task id. To use path helpers, we may need to include url helpers into the class.
Updated by Marek Hulán almost 4 years ago
- Related to Feature #30966: Make host statuses clickable added
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Dominik Matoulek
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/559 added
Updated by The Foreman Bot almost 4 years ago
- Fixed in Releases foreman_remote_execution 4.2.2 added
Updated by Anonymous almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_plugin|0aa5ca70445c605ad2f70ba8da449ccd55f2cf91.
Updated by Adam Ruzicka over 3 years ago
- Target version set to foreman_remote_execution-4.3.0
- Fixed in Releases deleted (
foreman_remote_execution 4.2.2)
Updated by Adam Ruzicka over 3 years ago
- Fixed in Releases foreman_remote_execution-4.3.0 added
Actions