Skip to content

Unable to pull logs while build still in progress #217

Closed

Description

What's the preferred way to fetch logs periodically from jenkins?
Most of the clients using response headers to determine if log is complete.

Example here:
https://github.com/silas/node-jenkins/blob/master/lib/build.js#L190

Thanks to that approach logs can be fetched partially. Jenkins also offers another API to retrieve logs using offset.

Java client using simplified endpoint:

return client.get(getUrl() + "/logText/progressiveText");

I would be happy to contribute and build more sophisticated way to retrieve logs, but I just want to know general target for this client, before doing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions