Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TailLog to support reopened files #835

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

jglick
Copy link
Member

@jglick jglick commented Sep 18, 2024

I have some RealJenkinsRule tests which involve recreation of the build log file, but the default implementation of Tailer seems to be bound to an open file handle and thus does not notice any new content. Opening the file each time is of course less efficient but this utility is typically used only on very small log files in otherwise expensive tests so it should not matter. (Extracted from #827.)

@jglick jglick merged commit ff90091 into jenkinsci:master Sep 19, 2024
14 checks passed
@jglick jglick deleted the TailLog branch September 19, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants