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

Generate report even though JVM is shutting down #42

Open
scambon opened this issue Apr 7, 2021 · 0 comments
Open

Generate report even though JVM is shutting down #42

scambon opened this issue Apr 7, 2021 · 0 comments

Comments

@scambon
Copy link

scambon commented Apr 7, 2021

When the Maven build is part of a Jenkins job and a timeout occurs, no report is written.
Having the report could help to understand why the built lasted for so long.

It would be great if the extension could try to write the information already available, even though the JVM is forcibly shutting down.
This probably means relying on java.lang.Runtime.addShutdownHook(Thread), i.e. this is on a best effort basis.

In case the build is successful, then there is no need to write the same report twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant