Page MenuHomePhabricator

[jobs-api] add -l|--last to toolforge jobs logs ...
Closed, InvalidPublic

Description

webservice currently has the option of getting the last n lines from the logs.
We should support this for toolforge jobs as part of the process of slowly moving the toolforge webservice into the toolforge jobs.

Related Objects

Event Timeline

taavi@tools-bastion-12:~ $ toolforge jobs logs --help | grep last
  -l LAST, --last LAST  number of recent log lines to display

This seems to have been added all the way back in https://gerrit.wikimedia.org/r/c/cloud/toolforge/jobs-framework-cli/+/963295.